Skip to content

Nuxt 4 upgrade#4

Open
cdr-chakotay wants to merge 53 commits into
henryk:mainfrom
cdr-chakotay:nuxt-4-upgrade
Open

Nuxt 4 upgrade#4
cdr-chakotay wants to merge 53 commits into
henryk:mainfrom
cdr-chakotay:nuxt-4-upgrade

Conversation

@cdr-chakotay

@cdr-chakotay cdr-chakotay commented Nov 19, 2025

Copy link
Copy Markdown
Contributor

This pull request:

  • Updates the frontend stack to Nuxt 4 and Vuetify 3
  • Updates Docker and build configurations
  • Refactors the codebase to remove unsupported and unused features.
  • Upgrades Node dependencies to close security holes
  • Upgrades Node.js to version 20-LTS which is currently supported
  • Changes some of the content to make it ready for Nuxt4
  • Introduces Front-End Verifiaction

What is no longer working: Rendering the Markdown docs

  • TODO: Remove tweaks for local development on localhost
  • Remove: Websocket debugging code
  • Integrate mth verification
  • Remove debugging prints
  • Fix update bar with avg intervalls

Resolves #2
Resolves #5

- Enabled the Verification card
- Added a dummy handler function
- Added a hash choice
- Add ToDos for further implementation.
- Replace `createInput` with `verifyInput` throughout the verification logic.
- Implement and integrate `validateTsInput` utility for timestamp validation to enhance error handling.
- Update `doVerify` to handle timestamp validation, hash calculation, and verification outcomes.
- Add a lazy reporting system with alerts to the view, in case verification takes place
- Introduce `verifySnackbar` to improve UI feedback during verification.
- Add localized snackbar messages for success, failure, and errors.
- Remove `alert` calls and integrate snackbar notifications in `doVerify`.
- Update i18n strings with new verification messages.
- Update README with instructions for running the dev environment with hot reloading.
- Add temporary fixes in `uits.js` to handle local development scenarios (e.g., localhost URL adjustments).
- Updated Nuxt to version 3.12.3 and related dependencies.
- Refactored page components to use `<script setup>` syntax.
- Replaced `_slug.vue` with `[slug].vue` for dynamic routing.
- Introduced new `doc/[slug].vue` page for document rendering.
- Removed old asyncData methods in favor of useAsyncData.
- Added polyfills for Buffer in the client.
- Created a new Vuetify plugin for consistent component usage.
- Updated TypeScript configuration to extend from Nuxt's default.
- Enhanced TimestampService with listener management and WebSocket error handling.
- Added favicon.ico to public assets.
… in Docker configuration.

fix: Cleanup document integration since it has been defective in nuxt3
chore: Upgrade Nuxt and i18n dependencies for improved performance and compatibility
@cdr-chakotay

Copy link
Copy Markdown
Contributor Author

Would recommend a squash before merge, since this has been a cumbersome project.

@cdr-chakotay cdr-chakotay marked this pull request as ready for review November 19, 2025 13:53
@cdr-chakotay cdr-chakotay marked this pull request as draft November 23, 2025 11:49
cdr-chakotay and others added 20 commits November 24, 2025 14:04
Fix (hopefully) consistency and inclusion proof: with := max_index + 1
 - Fetch inclusion proof from authority and verify interval inclusion in main tree
 - Fixed variable shadowing bug (let verified_mth) and wrong getInclusionProof arguments
 - Added uncached path in doVerify() to fetch proof when interval is not cached
 - Fixed createIHash using wrong key name ("interval" → "index") to match Python schema
 - Fixed createIHash using entry submission time instead of interval seal time

Needed to change:
 - Added interval_ts to IntervalProofStructure so proof is self-contained for verification
 - Added interval_ts to formulate_proof() in worker.py
 - Added parseCompactTs to index.vue imports
 - Corrected field name "interval" → "index" and added interval_ts to protocol.md
@cdr-chakotay

cdr-chakotay commented Mar 28, 2026

Copy link
Copy Markdown
Contributor Author

Did another run on the implementation of the web verification feature.

Needed to change some of the entities since timestamp time != sealing time of the interval.

Proper review needed on the verification logic. Has been quite some time since we talked about that.

Markdown docs are still broken and at the moment I do not really have the time to fix them.

This PR should also address
#2 and #5 now.

@cdr-chakotay cdr-chakotay marked this pull request as ready for review March 28, 2026 18:38
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.

Expose Intervall Tree Head Nucleus' Timestamp Add route to current mth

2 participants