Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

€250 | Refactor the Canvas firefox extension #1

Open
idncsk opened this issue Jan 5, 2024 · 7 comments
Open

€250 | Refactor the Canvas firefox extension #1

idncsk opened this issue Jan 5, 2024 · 7 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@idncsk
Copy link
Member

idncsk commented Jan 5, 2024

The base functionality is to synchronize users browser tabs with his Canvas context;

Extension should Display the current context URL in the top section of the extension menu
Extension should have 4 menu tabs:

  • Browser to Canvas (showing all tabs opened in the browser that are not synced to canvas yet)
    • Ideally if a switch could toggle to show all browser tabs
  • Canvas to Browser (showing all tabs that are synced / stored in Canvas but not opened in the browser)
  • Ideally if a switch could toggle to show all canvas tabs
  • A Search tab for searching all open browser tabs and canvas tabs based on the tab title
  • A Settings tab with the following settings (stored in users localstorage)
    • Canvas server host, port, auth token
    • Pin session to context (by default "/")
    • autoSyncBrowserTabs (we may need a better variable name here :), settings "false", "On Context Change", "Always")
    • autoOpenCanvasTabs ("false", "On Context Change")

--

Browser to Canvas

  • when I user opens a new tab that is not yet synced to Canvas / the current context, it appears in the BrowserToCanvas list
    • clicking on a list item of the browserToCanvas list will sync the selected tab to Canvas and remove it from the list [context:document:insert]
    • clicking on the "X" icon of the list item of a browserToCanvas list will close the tab in the Browser and remove it from the list
    • clicking on the "Sync all" button of a browserToCanvas list will sync all non-synced open tabs to Canvas and clear the list [context:document:insertArray]

Canvas to Browser

  • when a user closes a tab that was already synced to Canvas, it appears in the CanvasToBrowser list
    • clicking on a list item of the canvasToBrowser list will open it in the browser and remove it from the list
    • clicking on the "X" icon of the canvasToBrowser list item will remove the selected tab from Canvas(current context) [context:document:remove]
    • clicking on the red trash icon of the canvasToBrowser list item will remove the tab document from Canvas(all contexts) [context:document:delete]
  • clicking on "Open All Tabs button" automatically opens all tabs from the list in the browser

Context changes

  • when a user changes his context from context A (for example universe://work/customer-a/reports) to context B (universe://work/customer-b/jira-1234)
  • Deppending on whether autoSyncBrowserTabs is set to "always" he should have his current tab session synced or closed, and all tabs related to the new context fetched from the Canvas backend [context:document:list]
  • if autoOpenCanvasTabs is set to "always", all fetched tabs will automatically be opened in the browser session
    • If possible, also restore windows (probably with different IDs)
    • if autoOpenCanvasTabs is false, just populate the CanvasToBrowserList
@idncsk idncsk changed the title EUR200 | Refactor the Canvas firefox extension €200 | Refactor the Canvas firefox extension Jan 5, 2024
@idncsk idncsk added the bug Something isn't working label Jan 5, 2024
@idncsk
Copy link
Member Author

idncsk commented Feb 6, 2024

Hello, please let me know if you hit any blockers

@idncsk
Copy link
Member Author

idncsk commented Mar 2, 2024

Removing your access rights, communication was really bad/almost no communication at all, delivery nowhere in sight, I'm sorry I lost so much time waiting for this to get finished.

@idncsk idncsk self-assigned this Mar 2, 2024
@idncsk idncsk changed the title €200 | Refactor the Canvas firefox extension €250 | Refactor the Canvas firefox extension Mar 15, 2024
@idncsk idncsk added help wanted Extra attention is needed and removed bug Something isn't working labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants
@idncsk @tarborlevan and others