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

Add UI for collections, fix local graphs and improve tables #404

Merged
merged 15 commits into from
Aug 1, 2023

Conversation

ml-evs
Copy link
Member

@ml-evs ml-evs commented May 26, 2023

This PR supersedes #292 by taking out the basic collections UI functionality of

  • Creating/listing collections
  • Adding new items to a collection
  • New components for displaying collection names, search etc.
  • Some associated UI tweaks

Blocked by #403.

@ml-evs ml-evs added enhancement New feature or request webapp For issues/PRs pertaining to the web interface blocked labels May 26, 2023
@cypress
Copy link

cypress bot commented Jun 21, 2023

Passing run #392 ↗︎

0 44 0 0 Flakiness 0

Details:

Merge d87faa5 into c201ac2...
Project: datalab Commit: 2dfe06ffe7 ℹ️
Status: Passed Duration: 06:43 💡
Started: Aug 1, 2023 9:16 PM Ended: Aug 1, 2023 9:23 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@ml-evs ml-evs removed the blocked label Jul 4, 2023
@ml-evs ml-evs marked this pull request as ready for review July 7, 2023 20:54
@ml-evs ml-evs requested a review from jdbocarsly as a code owner July 7, 2023 20:54
@ml-evs
Copy link
Member Author

ml-evs commented Jul 7, 2023

Deployed this to dev, one note is that this seems to require some migration somewhere to work out. Will investigate tomorrow.

@ml-evs ml-evs changed the title Add basic UI for collections Add UI for collections, fix local graphs and improve tables Jul 26, 2023
@ml-evs ml-evs force-pushed the ml-evs/collections_UI branch 4 times, most recently from 4d569b1 to 1b42f68 Compare July 27, 2023 23:31
@ml-evs
Copy link
Member Author

ml-evs commented Jul 27, 2023

Going to merge this as-is as its been hanging around for ages, everything now works but I've removed collection blocks as they were requiring 100s of lines of UI duplication to get working -- better to add as a blocks refactor.

- List collection membership in sample/cell pages

- Add collections API connections and associated setters (move up)

- Add collection type to resources

- Add collections-related fields to store

- Add ability to insert new item straight into an existing collection

- Add simplified collections views

- Add collection select component

- Re-add sample table for collections

- Make the collection sample table work by reworking the store

- Add UI components for formatting collection names

- Tweak formatted item names/refcode components to enable multiple on same line
…omponent

- Also fix sizing type mismatch in `UserBubble`
- Add cypress and log dirs to gitignore

- Refactor babel to only strip console in production
- Fix graph tests

- Fix e2e tests again

- One more tweak to e2e

- Fix trailing slash
- Add collection nodes and edges to graph view

- Fix local graph by properly dealing with bi-directional relationships

- Add collection-level graphs

- Fix local graph tests when using collections
- Add special node type for the centre of a local graph

- Default to graph view on item page

- Tweak user bubbles
@ml-evs ml-evs force-pushed the ml-evs/collections_UI branch 2 times, most recently from 9862dc9 to b3bd5b8 Compare July 28, 2023 00:29
@ml-evs
Copy link
Member Author

ml-evs commented Jul 28, 2023

Going to merge this as-is as its been hanging around for ages, everything now works but I've removed collection blocks as they were requiring 100s of lines of UI duplication to get working -- better to add as a blocks refactor.

Hmmm, still some spurious e2e failures, will investigate on dev later before merging

- Remove mention of collection blocks in UI until later refactor
- Update cypress tests

- Update starting material UI with collections list
@ml-evs ml-evs force-pushed the ml-evs/collections_UI branch 3 times, most recently from 1d7f198 to a9d9e8f Compare August 1, 2023 18:01
@ml-evs
Copy link
Member Author

ml-evs commented Aug 1, 2023

This is finally ready -- still need to work on #423 but this is enough for now

@ml-evs ml-evs merged commit d0cd651 into main Aug 1, 2023
5 checks passed
@ml-evs ml-evs deleted the ml-evs/collections_UI branch August 1, 2023 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request webapp For issues/PRs pertaining to the web interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant