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/cedar integration #2143

Merged
merged 127 commits into from
Feb 22, 2024
Merged

Feature/cedar integration #2143

merged 127 commits into from
Feb 22, 2024

Conversation

adlius
Copy link
Contributor

@adlius adlius commented Feb 13, 2024

  • Ticket: []
  • Feature flag: n/a

Purpose

Merge feature/cedar-integration into develop.

Summary of Changes

Screenshot(s)

Side Effects

QA Notes

adlius and others added 30 commits November 13, 2023 11:08
* prototype CEEE

* CR followup

* fix args names
…integration (#2091)

* Added the cedar metadata template model

* Added the new models for cedar-metadata-template and record

* Fixed some linting issues

* Added the adapters and serializers for cedar metadata template and record

* Fixed some typos and ignorance with serializers, api-contracts, etc

* Fixed the namespace

* Fixed the all the relationships
…2093)

* Updates to convert the currect guid-metadata to tab based

* Added the tabbing system to the metadata page

* Initial commit for geting the mirage serializers to work for cedar-metadata-records

* Updates from PR comments
* Added the initial metadata-detail component

* Added some more touches to the detail template

* Removed unnecessary mobile styling and actually the component.

* Much cleaner look and feel for the read-only view

* Added more randomness
bp-cos and others added 12 commits February 7, 2024 13:26
* Moved the "Select a different template" button

* Fixed a typo on including a component

* Added the async on route transition

* Updates to disable adding a duplicate record

* Added select disable functionality to registries

* Finished the disable feature for files and fixed some other nuisances

* Added sorting and moved the selected tab to the first
* Enabled the embedding of templates on cedar records

* Fixed a discepancy on the tab views

* More one fix for consistency
@coveralls
Copy link

coveralls commented Feb 13, 2024

Pull Request Test Coverage Report for Build 8007223254

Details

  • -138 of 212 (34.91%) changed or added relevant lines in 30 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.8%) to 68.252%

Changes Missing Coverage Covered Lines Changed/Added Lines %
app/adapters/cedar-metadata-record.ts 0 1 0.0%
app/adapters/cedar-metadata-template.ts 0 1 0.0%
app/guid-file/index/controller.ts 2 3 66.67%
app/guid-node/route.ts 0 1 0.0%
app/models/cedar-metadata-template.ts 0 1 0.0%
lib/osf-components/addon/components/metadata/metadata-tab-view/component.ts 0 1 0.0%
app/guid-file/index/route.ts 6 10 60.0%
lib/osf-components/addon/components/metadata/metadata-tabs/component.ts 15 20 75.0%
lib/osf-components/addon/components/metadata/metadata-add/component.ts 0 7 0.0%
app/guid-file/metadata/add/controller.ts 0 9 0.0%
Totals Coverage Status
Change from base Build 7922148032: -0.8%
Covered Lines: 6142
Relevant Lines: 8754

💛 - Coveralls

futa-ikeda
futa-ikeda previously approved these changes Feb 13, 2024
Copy link
Contributor

@futa-ikeda futa-ikeda left a comment

Choose a reason for hiding this comment

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

Looks good to me! Leaving some optional suggestions to address some leftovers

Comment on lines +4 to +5
border-top: 2px solid #ddd;
border-top: 2px solid rgb(221, 221, 221);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
border-top: 2px solid #ddd;
border-top: 2px solid rgb(221, 221, 221);
border-top: 2px solid $color-border-gray;

@attr('object') metadata!: any;
@attr('boolean') isPublished!: boolean;

@tracked templateName!: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

Note: Thought this was unused and leftover, but this is used as an alias for the template.name in the code.

brianjgeiger
brianjgeiger previously approved these changes Feb 13, 2024
@adlius adlius dismissed stale reviews from brianjgeiger and futa-ikeda via 40b2760 February 16, 2024 15:16
adlius and others added 3 commits February 20, 2024 10:01
…tion (#2150)

* upgrade cee version. listen to more events to trigger validation

* change to pointerover
@bp-cos bp-cos self-requested a review February 22, 2024 15:44
Copy link
Contributor

@bp-cos bp-cos left a comment

Choose a reason for hiding this comment

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

Best coding I've ever seen ... who did all this? Wow!

@adlius adlius merged commit f5c0c89 into develop Feb 22, 2024
9 of 10 checks passed
@adlius adlius added this to the 24.03.0 milestone Mar 4, 2024
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.

5 participants