Skip to content

Conversation

@rrromchIk
Copy link
Contributor

  • Ticket: [AND-376]
  • Feature flag: n/a

Purpose

Implementing preprints moderation

Summary of Changes

  1. Moderation mode for preprint details page
  2. Status banner in moderation mode
  3. Make decision dialog corresponding to each possible preprint state

Screenshot(s)

Side Effects

QA Notes

# Conflicts:
#	src/environments/environment.development.ts
#	src/environments/environment.ts
# Conflicts:
#	src/app/core/store/user/user.selectors.ts
#	src/app/features/preprints/models/preprint-provider-json-api.models.ts
#	src/app/features/preprints/models/preprint-provider.models.ts
# Conflicts:
#	src/app/core/components/nav-menu/nav-menu.component.ts
@rrromchIk rrromchIk requested a review from nsemets August 19, 2025 13:10
@rrromchIk rrromchIk marked this pull request as ready for review August 19, 2025 13:10
social: user.attributes.social,
defaultRegionId: user.relationships?.default_region?.data?.id,
allowIndexing: user.attributes?.allow_indexing,
canViewReviews: user.attributes.can_view_reviews === true, //do not simplify it
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove commnet. Why to not simplify?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

according to api response, this field might be true or []

@rrromchIk rrromchIk requested a review from nsemets August 20, 2025 09:40
@rrromchIk rrromchIk added this pull request to the merge queue Aug 20, 2025
Merged via the queue into main with commit e1d7e04 Aug 20, 2025
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