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

Feature/recent networks #284

Merged
merged 11 commits into from
Apr 12, 2024
Merged

Feature/recent networks #284

merged 11 commits into from
Apr 12, 2024

Conversation

chrtannus
Copy link
Member

@chrtannus chrtannus commented Apr 10, 2024

General information

Associated issues: #282

Checklist

Author:

  • One or more reviewers have been assigned.
  • Automated tests have been included in this pull request, if possible, for the new feature(s) or bug fix.
  • The associated GitHub issues are included (above).
  • Notes have been included (below).

Reviewers:

  • All automated checks are passing (green check next to latest commit).
  • At least one reviewer has signed off on the pull request. Reviewers have two business days to review the pull request, after which the author may merge in the pull request unilaterally.

Notes

  • Adds a list of recent networks to the Home page (uses the browser's local storage).
  • It allow a maximum of 20 entries--after that, any new network will replace the oldest entry in the local storage.
  • The list has a popup menu with these options:
    • Share: for now, it just copies all the links to the clipboard--e.g.:
      Demo Network 2	https://emdev.baderlab.net/document/f773a7fc-31a6-4f58-9a60-133cad96e568
      Demo 3	https://emdev.baderlab.net/document/044f5cce-ec09-4642-9580-bd51432832b9
      Demo Network	https://emdev.baderlab.net/document/72f6970c-693d-4496-bfd7-fa993a76741f
      GSE129943_rsem_counts_ENS_expr	https://emdev.baderlab.net/document/1060dbad-36b9-4e18-b33f-e189ce664e72
      
    • Clear List: removes the entries from the local store (it doesn't actually delete any network from the DB)
  • Each entry has a popup menu with these options:
    • Remove: removes the network key/value from the local storage.
    • Open in New Tab: notice that clicking the network item itself opens it in the same tab, so you may find this option redundant.

@chrtannus chrtannus self-assigned this Apr 10, 2024
@chrtannus chrtannus merged commit 8783f99 into main Apr 12, 2024
1 check passed
@chrtannus chrtannus deleted the feature/recent-networks branch April 12, 2024 18:44
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.

1 participant