fix(APP-983): Implement scrolling into the proposal creation eligibility section and remove the "No description" fallback text (APP-947 4/4)#1219
Conversation
Companion to the pure-rename commit; together they convert the repo into a pnpm monorepo with the app living in apps/app (@aragon/app, version and package name unchanged). - pnpm-workspace.yaml: packages [apps/*, packages/*]; lockfile regenerated - new root package.json (no version): tooling deps (turbo, biome, ultracite, husky, lint-staged, changesets, vercel) and proxy scripts via `turbo run` / `pnpm --filter @aragon/app`, so root `pnpm type-check|lint|test|e2e|setup` keep working and CI needs no rewiring - turbo.json: dev/build/lint:check/test:coverage tasks added - workflows regrouped per app: app-release-v2 -> app-release-start, release-pr-* -> app-release-pr-*, hotfix-start -> app-hotfix-start, slot-docs -> app-slot-docs; legacy app-release.yml deleted (superseded by the release-PR flow) - CI paths: 1Password secrets to apps/app/.env, playwright/synpress steps get working-directory, release flows read version/CHANGELOG from apps/app, slot-docs filters prefixed - biome/.changeset/.gitignore globs point at apps/app; jest drops agent-hook ignore patterns; guardrails scripts stay at the root - rule-skill globs prefixed with apps/app/ (matched repo-root-relative) - AGENTS.md monorepo section, new root README.md, MIGRATION.md with a verified branch-migration recipe (incl. post-rebase leftovers step: git silently leaves new files in new subdirs at old paths) - .git-blame-ignore-revs: the pure-rename commit
…sh between simulation and request failure Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
…eproposalcreation-params-and-return-type
…eturn-type' into app-979-add-simulation-to-processdatalistitem
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
…arams-and-return-type
…eturn-type' into app-979-add-simulation-to-processdatalistitem
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
…eturn-type' into app-979-add-simulation-to-processdatalistitem
…-982-manage-processes-order-and-selection-globally-from-select
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
…eturn-type' into app-979-add-simulation-to-processdatalistitem
…-982-manage-processes-order-and-selection-globally-from-select
…if url hash exists Signed-off-by: Milos Dzepina <milos@aragon.org>
…t set Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
|
🚀 Preview Deployment: View Here |
|
E2E results (preview) Smoke
|
thekidnamedkd
left a comment
There was a problem hiding this comment.
The refetchOnWindowFocus: false on the query is a genuine UX fix — no one wants their selection screen flickering because they alt-tabbed to check their wallet.
The scroll-to-section completes what PR 2/4 started with the link. Happy with the hash check approach.
One note: the scroll effect only fires once on initial render with the hash. Works fine for the deep-link case since the user navigates fresh to the page with the hash. Just noting it in case we ever wanted re-scroll on same-page navigation.
|
Not sure I understand what the re-scroll case would be? Whenever you open a page with this hash, it would scroll to the "proposal creation eligibility" section if it exists. |
thekidnamedkd
left a comment
There was a problem hiding this comment.
To clarify the re-scroll note: I meant the hypothetical where we're already on the process details page and something re-navigates to the same URL + hash — the component doesn't remount so the effect wouldn't re-fire. But since the only way into this anchor is the link in the select dialog (a different page), it's always a fresh mount and it just works. Purely a "if we ever add an in-page link" thing, no action needed. Nice wrap-up to the series, and the refetchOnWindowFocus fix is a genuine QoL win. LGTM 🚀
Description
Fixes scrolling into the proposal creation eligibility section on the process settings page when navigating from a "not eligible" link with the
#proposal-creation-eligibilityhash. Also removes the "No description" fallback text on process list items when a process has no description, and prevents the proposal creation simulation from refetching on window focus (which caused a UI jump).Type of Change
Developer Checklist:
Review Checklist: