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

refactor: pages and sections organization #587

Draft
wants to merge 17 commits into
base: next
Choose a base branch
from
Draft

Conversation

Jadapema
Copy link
Member

@Jadapema Jadapema commented Mar 4, 2025

This pull request focuses on optimizing the project’s organization and enhancing key interface components to facilitate easier maintenance and evolution.

  • Improved the structure of the pages and sections directories.
  • Moved types and constants to their respective files.
  • Standardized the internal organization of the sections directory.
  • Added skeleton loading components in the explore section.
  • Refactored key components, such as publication details and finance.

@Jadapema Jadapema requested review from geolffreym and cswni March 4, 2025 02:26
@Jadapema Jadapema self-assigned this Mar 4, 2025
Jadapema and others added 5 commits March 4, 2025 09:40
# Conflicts:
#	src/sections/marketing/components/campaign-settings-modal-content.tsx
- Updated `governance-item-horizontal.tsx`:
  - Added `//NOSONAR` to random day calculations for `endDate` and `closedAt`.
  - Added `//NOSONAR` to random vote generation for `votesFor`, `votesAgainst`, and `votesAbstain`.
These changes suppress SonarQube warnings for intentional random logic.
Sorting logic for transaction dates was updated to use localeCompare for proper string comparison.
- Updated `groupedTransactions.ts` in `src/utils/finance-graphs` to fix date sorting issue.
This change ensures consistent and accurate ordering for all locales.
- Renaming files to follow conventions
cswni and others added 4 commits March 5, 2025 12:49
- Bumped project version to 2.3.0-beta.1 in `package-lock.json`.
- Updated `prettier` to version 3.5.3.
- Added `dev: true` flag to several dependencies, such as `ci-info`, `graphemer`, `minimatch`, `normalize-package-data`, and others.
- Ensured integrity hashes remain consistent across all updates.
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