forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 22
Developing frontend
Ondrej Kosarko edited this page Nov 28, 2025
·
2 revisions
- Open console
- Type in setTimeout(()=>{debugger;},5000); // after 5 seconds debug mode will be started where element should pop up
- Press Enter
- Use
fixture.whenStable().then(() => { - Maybe it throw error
An error was thrown in afterAllthen check this stackoverflow thread.afterEach(() => {fixture.destroy();});solved this error.
this.translate.get is not a function - maybe do not define a new translateServiceStub but use TranslateModule.forRoot(), in the imports.
It is possible to disable SSR in production by using
environment:
universal:
preboot: falseSOMETIMES HOWEVER, FOR WHATEVER REASON, THE CONFIG FOR THE VERY SAME THING IS DIFFERENT:
universal:
preboot: falseWhenever you make changes to en.json5, you have to sync the messages using yarn run sync-i18n.
This will run script /scripts/sync-i18n-files.ts for all files in /src/assets/i18n/ with en.json5 as source file.
To specify only czech messages run yarn run sync-i18n -t src/assets/i18n/cs.json5 -i
Getting Started
Features
- All Features — full categorised list
- CLARIN Licenses
- PIDs & Handles
- Featured Services / Refbox
- Field-Level Permissions
- File Previews
- Sharing a Submission
- Personal Access Tokens
- DOI Configuration per Community
- ROR Authority
Operations
- Kubernetes Deployment
- Samples (.env, Nginx)
- Nginx + Shibboleth
- Handle Server · Setup (v7)
- Shibboleth · DiscoJuice
- Shibboleth Accounts
- S3 Storage · CESNET S3
- Google Analytics
- Matomo
- Solr
- Logging
- Custom Namespace
- Health Report
For Users
Development
Reference
- Authorizations
- Metadata Info
- Citations (proposal)
- Repository Checklist
- Search, Browse & Filters
- Localization
- Importing Items (CLI)
- NFA Import - Steps
- OpenAIRE
- DOI Registration
- Inclusion in OLAC
- Unit Testing
- Deploy Checks
- Troubleshooting
- Versioning Theory
- Dynamic Resource Versioning
- Metashare Import · Schema
- Web Server Overview
- LINDAT Common Theme
- Workshop 2016 Results
- WebLicht Integration
- Google Dataset Search
Archive (v5 / stale)
- Old Home (v5)
- Installation (v5)
- Prerequisites (v5)
- Connecting Tomcat with Apache
- Using Apache
- Building Shibboleth FastCGI
- Shibboleth Install (v5)
- EUDAT Replication
- Backup (v5)
- Spring Social / Google Drive (v5)
- Clarin (→ Repository Checklist)
- Control Panel (v5)
- Overlays (v5)
- Configuration (v5)
- Speeding Up Downloads
- Debugging (v5)
- Selenium (v5)
- Code Contributions (v5)
- Best Practices (v5)
- Testing Hudson
- Working on Windows
- Prerequisites Checklist (v5)
- Migration to DSpace 7.2.1
- Upgrade From Lindat
- Piwik (→ Matomo) · Piwik Cleaning