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

Overhaul of the cross section set edit form #996

Merged
merged 104 commits into from
Jun 5, 2024
Merged

Overhaul of the cross section set edit form #996

merged 104 commits into from
Jun 5, 2024

Conversation

daanboer
Copy link
Contributor

@daanboer daanboer commented May 2, 2024

Resolves #27
Resolves #40
Resolves #56
Resolves #145

Also concerns #45, and the overarching #589.

Copy link

codecov bot commented May 30, 2024

Codecov Report

Attention: Patch coverage is 95.51282% with 14 lines in your changes missing coverage. Please review.

Project coverage is 84.90%. Comparing base (67c1f72) to head (8d1c78c).
Report is 58 commits behind head on main.

Files Patch % Lines
packages/database/src/shared/queries.ts 53.57% 13 Missing ⚠️
packages/schema/src/process/index.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #996      +/-   ##
==========================================
+ Coverage   82.88%   84.90%   +2.02%     
==========================================
  Files         181      126      -55     
  Lines        8569     8022     -547     
  Branches      889      822      -67     
==========================================
- Hits         7102     6811     -291     
+ Misses       1423     1191     -232     
+ Partials       44       20      -24     
Flag Coverage Δ
app ?
converter 64.82% <ø> (ø)
database 82.79% <95.57%> (+0.40%) ⬆️
schema 92.96% <94.44%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Set correct state meta for states that are picked from
the database.
Top-level accordion with latex reaction descriptions is
implemented.
`ProcessItem` now correctly splits `info` into several
`ProcessInfoItem` components.
Add `onChange` functions.
Adding and removing process references now works.
Setting `display: block` limits the inner components widths as
desired. This results in only scrolling in vertical direction.
Greatly improves performance and usability of the
set edit form.
Only includes reversibility for now.
Add QoL improvements for using the process accordion:
 - Switching the reversibility no longer collapses the
   corresponding accordion item.
 - Accordion state is preserved when switching tabs.
Add `FieldSet` components.
These maps map the id to the corresponding latex.
This component is used to select the reactants and products
of a reaction in the contributor set edit form.
Treat info object type and comments.
@daanboer daanboer enabled auto-merge (squash) June 5, 2024 16:20
@daanboer daanboer merged commit bf096af into main Jun 5, 2024
9 checks passed
@daanboer daanboer deleted the edit-form branch June 5, 2024 16:25
@daanboer daanboer added enhancement New feature or request application labels Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application enhancement New feature or request
Projects
None yet
1 participant