Skip to content

Feat: Cache "Open" Project#254

Open
karyao wants to merge 8 commits into
mainfrom
feat_219_cache_open_applications
Open

Feat: Cache "Open" Project#254
karyao wants to merge 8 commits into
mainfrom
feat_219_cache_open_applications

Conversation

@karyao

@karyao karyao commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

closes #219

Description:

Caching what tabs are opened for the user, so it will show up if the page is refreshed or the site is visited.

  • Automatically saves and restores the list of "open" tabs in the correct order, and also between browser refreshes and future sessions.
  • Allow users to have multiple tabs opened, and instead of returning to the home page, it will open the closest active tab.
  • Handles scrolling of the tabs depending on screen size, and hovering for more information
Screenshot 2026-06-06 at 9 08 03 PM

@karyao karyao self-assigned this Jun 7, 2026
@karyao karyao marked this pull request as draft June 7, 2026 03:58
@karyao karyao force-pushed the feat_219_cache_open_applications branch from 95ccd78 to 7db32fb Compare June 7, 2026 04:04
@karyao karyao marked this pull request as ready for review June 7, 2026 04:22
@karyao karyao requested a review from jbriones1 June 7, 2026 04:22

@jbriones1 jbriones1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the tooltip behaviour you've added could go into a tooltip module in the csss-code library. Maybe as a directive that components can add so they can easily add tooltips to themselves.


router = inject(Router);

private platformId = inject(PLATFORM_ID);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why we need the PLATFORM_ID. Our application should only be accessed through a browser and unit tests should automatically inject the PLATFORM_ID to be browser.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the tests require the PLATFORM_ID be injected? I thought they would automatically inject browser.

@media (min-width: g.$breakpoint-large) {
:host {
grid-template-columns: min-content auto;
grid-template-columns: min-content 1fr;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there an issue with using auto? Iirc, this would fill any empty space, which I can't remember if I wanted or not.

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.

Cache "open" applications

2 participants