flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[Dependencies] Declare axe-core as a real frontend devDependency

Open blurbeast opened this issue 2 weeks ago • 5 comments

Overview & Background

frontend/src/__tests__/a11y.test.tsx:3 imports axe-core directly — but axe-core appears in no package.json (root, frontend, backend, packages). It resolves only as a transitive dependency of eslint-plugin-jsx-a11y (via eslint-config-next), hoisted by npm. Any change to the ESLint stack, or a switch to a stricter installer like pnpm, breaks the a11y suite with a module-not-found at test time and no manifest change to explain it.


Technical Specification & Architecture

  1. Add axe-core to frontend/package.json devDependencies.
  2. Consider dropping the unused jsdom (frontend/package.json:44) since vitest.config.ts:7 uses happy-dom.

Target Files

  • frontend/package.json

Acceptance Criteria

  • [ ] Every directly imported package is declared in the manifest.
  • [ ] The a11y suite passes with npm ci from a clean cache.
  • [ ] Unused dev dependencies are removed.

blurbeast avatar Nov 18 '26 19:11 blurbeast

@Lebmont8 has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

Hello, I'm interested in taking this issue on.

I'm a full-stack developer with 4+ years of experience, working with TypeScript, React and Next.js. I'll keep this focused on the frontend dependency setup and the existing accessibility tests.

Planned approach, based on the acceptance criteria:

  • Declare axe-core directly in the frontend devDependencies and update the matching lockfile.
  • Check the frontend's direct imports and test configuration for undeclared or unused dependencies, including jsdom.
  • Remove unused dev dependencies once their absence from the code and test setup is confirmed.
  • Verify a clean npm ci install and run the accessibility suite without relying on a transitive axe-core dependency.

Looking forward to contributing — please assign this issue to me.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Lebmont8 to this issue.

Lebmont8 avatar Nov 20 '26 13:11 Lebmont8

@Aboyeji-Isaac has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

Hi maintainer, I would like to work on this issue. I understand the goal is a cash-flow calendar that visualizes expected incoming and outgoing stream activity over a selectable period, correctly accounting for pauses, end dates, and uncertainty so projections are never presented as guaranteed settlement. Based on my experience building financial timeline components in React/TypeScript with careful date and timezone handling, this is how I'll resolve this issue: I will build the calendar to expand each stream's schedule across the selected range while respecting pauses and end dates, reconcile per-day summaries against existing stream detail calculations, test timezone boundaries and failure cases, label projected amounts as estimates, update the relevant documentation, and open a PR referencing Closes #263 with test results, without touching wallet authorization, chain validation, accounting invariants, or secret handling.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Aboyeji-Isaac to this issue.

Aboyeji-Isaac avatar Nov 20 '26 15:11 Aboyeji-Isaac

@anitahhhh has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

thus is easy

ℹ️ Repo Maintainers: To accept this application, review their application or assign @anitahhhh to this issue.

anitahhhh avatar Nov 21 '26 07:11 anitahhhh

Congratulations, @anitahhhh! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.

🧑‍💻 @anitahhhh: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

🌊 Happy Wave 🌊

drips-wave[bot] avatar Nov 21 '26 07:11 drips-wave[bot]

This issue has been completed by @anitahhhh as part of the Stellar Wave Program's 11th Wave 🥳

😎 @anitahhhh: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

drips-wave[bot] avatar Nov 24 '26 09:11 drips-wave[bot]