Skip to content

feat(cpd): persist dashboard unit scope in the URL - #518

Open
luvya9203 wants to merge 1518 commits into
thoth-tech:developmentfrom
ontrack-features-t2-2026:feature/cpd-url-unit-scope
Open

feat(cpd): persist dashboard unit scope in the URL#518
luvya9203 wants to merge 1518 commits into
thoth-tech:developmentfrom
ontrack-features-t2-2026:feature/cpd-url-unit-scope

Conversation

@luvya9203

Copy link
Copy Markdown

Summary

  • Persist the Cross-Project Dashboard unit scope in the URL.
  • Restore Active, Previous, or All units from the scope query parameter.
  • Fall back safely to Active units when the parameter is missing or invalid.
  • Update the URL when the selected unit scope changes.
  • Preserve lazy loading of previous units.

Testing

  • npx ng test --no-watch --no-progress --include='src/app/dashboard/f-cross-dashboard.component.spec.ts'
  • 18 tests passed.
  • npx prettier --check src/app/dashboard/f-cross-dashboard.component.ts
  • git diff --check

Evidence

  • URL scope restore and invalid/missing fallback covered by frontend tests.
  • Scope changes update the dashboard URL.
  • Manual screenshot/recording to be attached.

b0ink added 30 commits June 3, 2026 17:24
* refactor: format codebase and implement lint checks

* ci: fail lint workflow on warnings

* chore: remove rule ignore

* refactor: remove empty lifecycle methods

* chore: revert empty method

* refactor: switch to modern lifecycle methods

* refactor: switch to records

* refactor: consistent type assertions

* refactor: consistent type definitions

* refactor: remove empty block statements

* chore: re-enable no useless escape rule

* chore: reenable no misleading character class rule

* chore: no wrapper object types

* chore: fix no constant binary expression

* refactor: remove this alias

* refactor: no unused expressions

* refactor: prefer const

* chore: no var rule

* refactor: no unused vars

* refactor: no inline templates

* refactor: no inline styles

* refactor: enforce modern angular control flow

* refactor: no empty functions

* chore: update pull request template

* refactor: consistent generic constructors

* refactor: no empty object types

* chore: remove todo

* refactor: remove use of any

* refactor: enforce alt text

* chore: enforce no empty content

* chore: add todo

* chore: add recommended rules

* refactor: sort tailwind classes
* chore: init communication system editor

* feat: add core communications logic

* refactor: improve ui layout

* refactor: preview email

* refactor: ability to edit conditions and actions

* refactor: clean up ui layout

* feat: enable set execution

* refactor: improve layout

* refactor: improve ui layout

* feat: add confirmation modals to execute rule and set

* feat: add scheduling ui

* chore: remove duplicate header

* fix: ensure students are loaded

* refactor: move buttons

* fix: disable horizontal scrolling

* refactor: improve ui

* chore: revert full width change

* chore: improve current week ui

* chore: format

* feat: add spec con days condition

* feat: add task comment action

* chore: fix layout

* chore: remove unnecessary shortcuts

* refactor: use server side current week number

* refactor: modularise components

* chore: fix styling
- students must wait until all tasks have finished processing before clicking on create portfolio
b0ink and others added 29 commits July 8, 2026 12:46
Updated the Pull Request template to include new sections for Jira ticket, summary, testing, security, and evidence.
…uest-template

Revise Pull Request template structure and content
feat(dashboard): implement basic sorting and filtering
CPD - Add an Optional “Show Previous Units” Feature
@luvya9203
luvya9203 force-pushed the feature/cpd-url-unit-scope branch from 65666fe to 1c27529 Compare August 25, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants