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

Make Object / Version dates more accurate #133

Merged
merged 11 commits into from
Oct 13, 2023
Merged

Make Object / Version dates more accurate #133

merged 11 commits into from
Oct 13, 2023

Conversation

TimCsaky
Copy link
Contributor

@TimCsaky TimCsaky commented Oct 7, 2023

Description

ticket: https://apps.nrs.gov.bc.ca/int/jira/browse/SHOWCASE-3347
and a mix of other minor changes:

  • Show more accurate details for versions
    • show incrementing version number
    • await user search when showing created by details
    • show createdAt or updatedAt depending on bucket versioning
  • Fix user search to filter SYSTEM_USER
  • Properties panel to always show object-level attributes
  • no longer show version-specific created/updated by/dates
  • for each version.
  • Hide Access heading if no object-level manage perm exists
  • Pass bucketId to Tag/Meta components for permission check
  • Revert primary button hover style changes
  • remove hyperlink from tags
  • Fix text formatting on bucket config form
  • Change object table sort to 'updated date' descending
  • Bump base red-hat image for docker build

Types of changes

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@TimCsaky TimCsaky requested a review from jujaga as a code owner October 7, 2023 00:16
@github-actions
Copy link

github-actions bot commented Oct 7, 2023

Coverage Report (Application)

Totals Coverage
Statements: 75% ( 51 / 68 )
Methods: 62.5% ( 5 / 8 )
Lines: 82.61% ( 38 / 46 )
Branches: 57.14% ( 8 / 14 )

@github-actions
Copy link

Coverage Report (Frontend)

Totals Coverage
Statements: 36.16% ( 448 / 1239 )
Methods: 37.36% ( 102 / 273 )
Lines: 42.74% ( 309 / 723 )
Branches: 15.23% ( 37 / 243 )

@TimCsaky TimCsaky force-pushed the dates branch 2 times, most recently from bb4c806 to d519504 Compare October 12, 2023 21:11
Copy link
Member

@jujaga jujaga left a comment

Choose a reason for hiding this comment

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

Please double check to make sure linting warnings are being resolved. Looks pretty good at semantic level otherwise.

frontend/src/components/object/ObjectAccess.vue Outdated Show resolved Hide resolved
@@ -14,6 +14,7 @@ import type { Metadata } from '@/types';

// Props
type Props = {
bucketId: string | undefined ;
Copy link
Member

Choose a reason for hiding this comment

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

I believe this can be changed to optional attribute instead of explicit undefined typing:

bucketId?: string;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i forget why but using bucketId?: string; shows a linting error

frontend/src/components/object/ObjectProperties.vue Outdated Show resolved Hide resolved
frontend/src/components/object/ObjectSidebar.vue Outdated Show resolved Hide resolved
frontend/src/components/object/ObjectTag.vue Outdated Show resolved Hide resolved
frontend/src/components/object/ObjectTag.vue Outdated Show resolved Hide resolved
frontend/src/components/object/ObjectTag.vue Outdated Show resolved Hide resolved
frontend/src/components/object/ObjectVersion.vue Outdated Show resolved Hide resolved
frontend/src/components/object/ObjectVersion.vue Outdated Show resolved Hide resolved
@TimCsaky TimCsaky force-pushed the dates branch 2 times, most recently from 1158a83 to 8225af6 Compare October 13, 2023 00:09
@jujaga jujaga merged commit c9e6f35 into master Oct 13, 2023
@jujaga jujaga deleted the dates branch October 13, 2023 00:22
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.

3 participants