Skip to content

deploy to prod - #972

Merged
JoaquinBN merged 7 commits into
mainfrom
dev
Aug 6, 2026
Merged

deploy to prod#972
JoaquinBN merged 7 commits into
mainfrom
dev

Conversation

@JoaquinBN

Copy link
Copy Markdown
Collaborator

No description provided.

The guidelines rail on the submit form is now a per-type pre-flight card
instead of a long document. A shared ContributionGuidelines component
renders panels for Projects, Intelligent Contract, and Milestone plus a
minimal default state: the weekly slot counter is the single visual
accent and personalizes to the user's remaining slots, the category
router can switch the type selector directly, the Milestone panel leads
with a highlighted-project eligibility check, and the post-submission
process (more information, rejection, appeal) lives in a collapsed
accordion so it appears at the right moment. On desktop the card is a
sticky right rail with internal scrolling; on mobile it collapses into a
disclosure above the form with the slot summary in its header. The
Projects contribution-type detail page reuses the same panel.

## Claude Implementation Notes
- frontend/src/components/portal/ContributionGuidelines.svelte: Rebuilt as the compact pre-flight card. Per-type panels keyed off slug (projects family / create-intelligent-contracts / milestones / general), personalized slot counter with segment bar and soft warning at 0 remaining (falls back to static copy without user data), clickable category router via the onRoute prop (plain text without it), quality bars per panel, collapsed "After you submit" accordion reset via {#key panel}, and a mobile <details> variant titled "Before you submit".
- frontend/src/lib/contributionGuidelines.js: isProjectContributionType helper centralizing legacy project slug detection.
- frontend/src/components/portal/submit-contribution/SubmitContribution.svelte: routeToType(slug) wires the router into selectType; milestoneEligible derived stays null while projects load or errored so transient failures never claim ineligibility; mobile disclosure moved above the form; desktop aside is always sticky with max-height viewport scroll (removed the project-specific non-sticky special case); isProjectType delegates to the shared helper.
- frontend/src/routes/ContributionTypeDetail.svelte: Renders the guidelines panel in detail mode (non-interactive router) on the Projects type page.
- frontend/src/tests/ContributionGuidelines.test.js: Covers the default state, all three type panels, counter personalization/warning, router callbacks, and both accordions.
- frontend/src/tests/MissionBrowsing.test.js: Detail-page guidance assertions updated to the new heading and weekly-window copy.
- frontend/CLAUDE.md: Documents the redesigned component, its panels, and props.
…on-guidelines-ui-v1

Redesign submission guidelines into a compact pre-flight check
…o-flow

# Conflicts:
#	frontend/src/components/portal/submit-contribution/SubmitContribution.svelte
…nfo-flow

Add stored submission resubmission flows
@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 7c5f6128-7380-4887-8b3c-867fb3ceac36

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

2 participants