-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat: docs #1202
Closed
Closed
feat: docs #1202
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JonasKruckenberg
requested review from
horacioh,
burdiyan,
GaboHBeaumont and
juligasa
November 29, 2022 18:01
juligasa
reviewed
Nov 30, 2022
burdiyan
approved these changes
Dec 1, 2022
horacioh
force-pushed
the
feat/docs
branch
2 times, most recently
from
December 3, 2022 02:08
14ce8ef
to
6ae72ff
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Deployment failed with the following error:
|
@JonasKruckenberg I'm trying to fix this CI issue, but no luck. Looks like some of the Wit-related stuff got moved to other places, and
|
Merged manually into build13/staging. |
burdiyan
added a commit
that referenced
this pull request
Mar 3, 2023
horacioh
pushed a commit
that referenced
this pull request
Mar 15, 2023
horacioh
added a commit
that referenced
this pull request
Mar 15, 2023
* fix(editor): avoid editor jump * fix: state machines predictableActionArguments argument * fix(frontend): remove main machine and branch sync sync with staging Main machine wiped out, still WIP No sites, no double NavMenu seperator Gateway: server-rendered CID paths Site add form Send x-mintter-site-hostname header Publication path lowercase and save correctly Fixes query client/invalidation for sites add invite token expiration WIP: invite tokens and p2p init Fixed hooks for site add+remove Re-Publishing Workflow Publish/Unpublish UI and hooks Sites management now using new buf client App Query Client Singleton dummy remote p2p site calls local sites (add, list remove) mockups * wip conversations - change context value - add comments styling inside activity section - you can add comments to conversations now * remove cconversation context error * Sites management now using new buf client * register p2p (mttnet) methods locally as well * wip: calling .well-known * wip: cleaning warnings * wip: using more secure random generator * update protos with changes in documentation * Init mttnet server sepparately * Check permissions on remote (local mocked) calls * update protos according to PR comments * wip: publish + unpublish + list mockups * get and update remote site info * Fixes to listing and unpublishing webPubs * ListWebPublicationRecords * Make a local site by default. Just for tests * change default site name * Site Settings invite+members UI revamp * fix(frontend): empty list button draft creation the button was opening a new window after creating a draft. that's not the desired experience. we do change the route of the same window after the draft is created. * get path mocked * fix: handle errors when getpath not found * token only * Invite workflow frontend fixes * Log RPC from front end client * Cleaner publish/share dialog when published * Invalidate queries to affect other windows * Provide member_role=editor when inviting * useNavigation for new draft * update document on duplicate path (and same docID) * redeem token (if provided) in add site * basic invite page on gateway * gateway fix missing env, log mode * Add Site invite token + error handling * update slate packages * highlight conversation context wip * remove panelSend event causing infinite loop * Clicking Conv Bubble opens Activity * Unpublish only if you are site owner or doc author * List members get members and delete member mockups * adding site owner to the db at init time * fix shared build (ts-ignore) * fix share button dissappear * fix draft scroll error * docs(tauri): merge docs from #1202 Closes #1202 * defining well-known message in doc * If not site flag provided daemon is a regular node * serve .well-known content * wip: connect with site via p2p when adding it * feat(comments): comments first iteration done - rendering selectors on publications - list conversation on activity panel - render selectors on conversation item - reply to conversations - proper transform between api <-> slate * resolve conflicts with master * fix tsc build * wip: remote calls with hardcoded redeemtoken * proxy add site with no hardcodings * proxy all calls to remote site if headers found. * wip: harden tokens and improve debug comments * check path is a valid URL * Send site hostname header * SSR web publish with pretty path * Work around tauri dots in params * flag 2 create random acc. w/out user intervention * Supports publishing home page * Web gateway to support home screen * proxy ListWebPublicationRecords for each site * hostname with mandatory protocol (http(s)://) * forward metadata in proxied calls * fix automatic acc. generation when already exists * Start supporting protocol in site hostname * manually cherry-pick conversations styles this is from the Nostr branch * Gateway Env variable: GW_NEXT_HOST * Gateway env: GW_GPRC_ENDPOINT * wip: include sync comments * Dockerfile to containerize the daemon * wip:contanerize gateway * fix(backend/ipfs): switch to inmemory datastore again Trying to fix database locking issues. Closes #1200. * fix mintter.com website with hardcoded document * add .vercel to gitignore * fixes on env variables for gateway * fix envs again * pasing transport tpo getPublication * forcing gateway as host * clientside again for gateway * fix metadata formatted date * fix comments workflow + design * Nostr experiment to staging (behind flag) * nostr true by default * update mintter homepage pub version * update frontend deps * testing ssr on ids page * testing nodejs runtime on ids * rollback to clientside rendering * wip: tests * wip: site tests * site db schema * enable wss in build (wip) * add click selector click event * fix(comments): control better when to add/remove conversations * fix(comments): bidirectional highlight for conversations * fix(comments): scrollIntoView working in both publication and conversations * gw vercel check and render client side pub * docker file for nextjs site self host * server side render 100% * fetch redirect mode * vercel test * 😵💫 * 🤠 * 👾 * 🌈 interceptor * 📢 * gw: server render by default * Site title * Clean up unused settings tabs * Improvements to site members * Fixing site hostname labels + urls * sites db schema (no breaking change yet) * protect early exits to not panic * fix: not error on normal shutdown * lint * remove references table and renaming * create site transactions * fix: wrong token table * wip: improve token sql functions * wip:sql tests * change database compatibility * well known api draft * remove the need to build shared pkg * Revert "remove the need to build shared pkg" This reverts commit 8e729d2. * fix build step for gw * setup env variables correctly * wip: add member * force vercel to use gateway.mintter.com * set new homepage doc for gateway * force gateway url * 🤌 * 😔 * 😢 * 😢😢 * allow unpublish by path * Build13/drag and drop (#1308) * fix(tauri): fix daemon flags pasing WIP * added drag and drop hook implementation. added drag context to blocktools * added drag machine. added drag event handlers to blocktools and editor. removed usedragdrop hook * drag and drop WIP - rebase with build13/staging - code cleanup - create custom drag context utils * moved dragover handling to phrasing props. added style handling to drag machine * blocktools inside blocks * added prevention of dragging parent inside it's children list * added drag attributes and handlers to editor blocks and blocktools * moved ondragover to paragraph. added editor parameter to drag machine * wip * added mouseup to blocktools to enable mouse machine back. added removing group if dragging the only child of a group * rebase with build13/staging * fix validate --------- Co-authored-by: Horacio Herrera <hi@horacioh.com> * remove log interceptor from prod transform * enable everyone to edit enything * remove publication blocktools red background * feat(frontend): drag and drop working added checking and removing empty groups Merge branch 'build13/staging' into build13/drag-and-drop disabled drag and drop if editor in dragging state. removed comments and console logs. renamed selection catching plugin added mouseup to blocktools to enable mouse machine back. added removing group if dragging the only child of a group moved ondragover to paragraph. added editor parameter to drag machine added prevention of dragging parent inside it's children list blocktools inside blocks moved dragover handling to phrasing props. added style handling to drag machine added drag machine. added drag event handlers to blocktools and editor. removed usedragdrop hook added drag and drop hook implementation. added drag context to blocktools * wip: site member management in db * fix: consume grpc port properly * fix nextjs responses * fix: returning proper role on existing accounts * log ids params for debugging * check documentId params check * wip: change site opts in db * wip: managing sites in the db * wip: web publication records db (not tested) * prevent same document to be published twice * unpublish by docid (+ version) only * wip: web publication db testing (no references) * wip: account for references in published documents * Sites db persistence (breaking change) * wip: commenting * replace existing site * tokens db * site members db * sites db * update site info (title+description) * publish and unpublish db * linting * change compatibility date and linting * allow adding a site without token (and no owner) * fix site tests * test proxy members * wip: site info test * fix(frontend): fix publishing redirection it was not happening because we were not calling the appropiate actions * test(backend): add tests for block revisions Add test to reproduce #1301. Seems to be working fine though. * Error adding a site without token if not an owner * version id provided on unpublish * Security pack own words support comma * fix(frontend): add zomm in and out * Publish/share dialog: Fix url of home path * gw: author server rendered * gw: env port for development * gw: well known endpoint for nextjs * wip: site deployment documentation * disable nostr * documentID unique key + test suite update * add author data on comments * added top and bottom lines when dragging based on the paths * wip: site syncs-in provided documents only * fix(frontend): fix drag and drop in Mac * some frontend fixes * site syncing tests * wip:syncing comments * fix(frontend): fix publish share popover alignment * fix: multiple identical site members * wip: less autorelay verbosity * site only syncs out with site members * wip on new sidepanel * feat(frontend): add activepanel to sidepanele * fixed bug where blocks would be dragged to top when the bottom line was showed. added nested groups code (WIP) * add footer import on sites page * take into account lists in tests * change site bio when updating site info * wip: publish tests * wip: improve site tests * wip: make linter happy * wip: unify db constraints * error getpath on blank path + improve test suite * fix(backend): don't panic on nil datoms iterator Closes #1310. * Citations and Versions sidebar prototype * test(rust): fix clippy lint issues * wip: improve error messages on document finding * check multiple devices in parallel when publishing * identify supporting materials by ID + Version * fix(front): provide supporting material properly * wip: linting and messaging * look at nextjs .well-known path when adding a site * site deployment * fix(frontend): minor fixes on dragging * fix(frontend): transformation to api now respects revision solves #1301 * unify hover effect + cleanup imports * make script portable * fix(frontend): remove shared api client calls * uncomment correct index page ids * member management for owners, remove member * gw: Remove client side fallback * Gateway Dev port fix * gw: query for author on page slug * settings + share hostname display no protocol * publish success message * republish notification * not exposing daemon http ports to the outside * remove the ERROR * fix(gateway): fix gateway wrong calls * cleanup imports * remove citation numbers for now * using a more portable curl command to deploy sites * wip: some comments on difficult-to-follow code * fix mnemonics call in onboarding * Fix double https in invite sender * add logs to production build * upgrade to the more advanced script * wip: not defining latest to pull from repo * gw: Minor logging / cleanup * citations number in blocks * Improving sites settings UI * not exposing addresses over http in regular nodes * wip: test docker build action * fix: docker action * Include site docker images in nightlies 6 AM * fix(gateway): special site header for sites * fix(frontend): slim down nextjs-docker size * update static copy route in docker * chore(build): make protobuf JS codegen up to date * Fix broken republish message * Invalidate doc list on publish * Site title, doc title, SEO metadata * Gateway Pretty Path not found * Fix: take version into account in getpath * WebPublish to use the open version * Fix silent error dialog * feat(frontend): new ui structure for the gateway code * fix(build): fix rust CI issues Removing workspace-hack, because it seems to be causing issues, and seems like it's not worth the effort at this point. * Improve panel titles * app sidebar toggle behavior in footer * conversation floating button is gone * fix(build): remove wasi-mtt from the rust workspace * fix frontend package installs --------- Co-authored-by: Horacio Herrera <hi@horacioh.com> Co-authored-by: Eric Vicenti <eric@vicenti.net> Co-authored-by: juligasa <11684004+juligasa@users.noreply.github.com> Co-authored-by: Iskak Toltay <36269035+IsKEK@users.noreply.github.com> Co-authored-by: IsKEK <iskaktoltay@gmail.com>
horacioh
added a commit
that referenced
this pull request
Apr 5, 2023
* register p2p (mttnet) methods locally as well * wip: calling .well-known * wip: cleaning warnings * wip: using more secure random generator * update protos with changes in documentation * Init mttnet server sepparately * Check permissions on remote (local mocked) calls * update protos according to PR comments * wip: publish + unpublish + list mockups * get and update remote site info * Fixes to listing and unpublishing webPubs * ListWebPublicationRecords * Make a local site by default. Just for tests * change default site name * Site Settings invite+members UI revamp * fix(frontend): empty list button draft creation the button was opening a new window after creating a draft. that's not the desired experience. we do change the route of the same window after the draft is created. * get path mocked * fix: handle errors when getpath not found * token only * Invite workflow frontend fixes * Log RPC from front end client * Cleaner publish/share dialog when published * Invalidate queries to affect other windows * Provide member_role=editor when inviting * useNavigation for new draft * update document on duplicate path (and same docID) * redeem token (if provided) in add site * basic invite page on gateway * gateway fix missing env, log mode * Add Site invite token + error handling * update slate packages * highlight conversation context wip * remove panelSend event causing infinite loop * Clicking Conv Bubble opens Activity * Unpublish only if you are site owner or doc author * List members get members and delete member mockups * adding site owner to the db at init time * fix shared build (ts-ignore) * fix share button dissappear * fix draft scroll error * docs(tauri): merge docs from #1202 Closes #1202 * defining well-known message in doc * If not site flag provided daemon is a regular node * serve .well-known content * wip: connect with site via p2p when adding it * feat(comments): comments first iteration done - rendering selectors on publications - list conversation on activity panel - render selectors on conversation item - reply to conversations - proper transform between api <-> slate * resolve conflicts with master * fix tsc build * wip: remote calls with hardcoded redeemtoken * proxy add site with no hardcodings * proxy all calls to remote site if headers found. * wip: harden tokens and improve debug comments * check path is a valid URL * Send site hostname header * SSR web publish with pretty path * Work around tauri dots in params * flag 2 create random acc. w/out user intervention * Supports publishing home page * Web gateway to support home screen * proxy ListWebPublicationRecords for each site * hostname with mandatory protocol (http(s)://) * forward metadata in proxied calls * fix automatic acc. generation when already exists * Start supporting protocol in site hostname * manually cherry-pick conversations styles this is from the Nostr branch * Gateway Env variable: GW_NEXT_HOST * Gateway env: GW_GPRC_ENDPOINT * wip: include sync comments * Dockerfile to containerize the daemon * wip:contanerize gateway * fix(backend/ipfs): switch to inmemory datastore again Trying to fix database locking issues. Closes #1200. * fix mintter.com website with hardcoded document * add .vercel to gitignore * fixes on env variables for gateway * fix envs again * pasing transport tpo getPublication * forcing gateway as host * clientside again for gateway * fix metadata formatted date * fix comments workflow + design * Nostr experiment to staging (behind flag) * nostr true by default * update mintter homepage pub version * update frontend deps * testing ssr on ids page * testing nodejs runtime on ids * rollback to clientside rendering * wip: tests * wip: site tests * site db schema * enable wss in build (wip) * add click selector click event * fix(comments): control better when to add/remove conversations * fix(comments): bidirectional highlight for conversations * fix(comments): scrollIntoView working in both publication and conversations * gw vercel check and render client side pub * docker file for nextjs site self host * server side render 100% * fetch redirect mode * vercel test * 😵💫 * 🤠 * 👾 * 🌈 interceptor * 📢 * gw: server render by default * Site title * Clean up unused settings tabs * Improvements to site members * Fixing site hostname labels + urls * sites db schema (no breaking change yet) * protect early exits to not panic * fix: not error on normal shutdown * lint * remove references table and renaming * create site transactions * fix: wrong token table * wip: improve token sql functions * wip:sql tests * change database compatibility * well known api draft * remove the need to build shared pkg * Revert "remove the need to build shared pkg" This reverts commit 8e729d2. * fix build step for gw * setup env variables correctly * wip: add member * force vercel to use gateway.mintter.com * set new homepage doc for gateway * force gateway url * 🤌 * 😔 * 😢 * 😢😢 * allow unpublish by path * Build13/drag and drop (#1308) * fix(tauri): fix daemon flags pasing WIP * added drag and drop hook implementation. added drag context to blocktools * added drag machine. added drag event handlers to blocktools and editor. removed usedragdrop hook * drag and drop WIP - rebase with build13/staging - code cleanup - create custom drag context utils * moved dragover handling to phrasing props. added style handling to drag machine * blocktools inside blocks * added prevention of dragging parent inside it's children list * added drag attributes and handlers to editor blocks and blocktools * moved ondragover to paragraph. added editor parameter to drag machine * wip * added mouseup to blocktools to enable mouse machine back. added removing group if dragging the only child of a group * rebase with build13/staging * fix validate --------- Co-authored-by: Horacio Herrera <hi@horacioh.com> * remove log interceptor from prod transform * enable everyone to edit enything * remove publication blocktools red background * feat(frontend): drag and drop working added checking and removing empty groups Merge branch 'build13/staging' into build13/drag-and-drop disabled drag and drop if editor in dragging state. removed comments and console logs. renamed selection catching plugin added mouseup to blocktools to enable mouse machine back. added removing group if dragging the only child of a group moved ondragover to paragraph. added editor parameter to drag machine added prevention of dragging parent inside it's children list blocktools inside blocks moved dragover handling to phrasing props. added style handling to drag machine added drag machine. added drag event handlers to blocktools and editor. removed usedragdrop hook added drag and drop hook implementation. added drag context to blocktools * wip: site member management in db * fix: consume grpc port properly * fix nextjs responses * fix: returning proper role on existing accounts * log ids params for debugging * check documentId params check * wip: change site opts in db * wip: managing sites in the db * wip: web publication records db (not tested) * prevent same document to be published twice * unpublish by docid (+ version) only * wip: web publication db testing (no references) * wip: account for references in published documents * Sites db persistence (breaking change) * wip: commenting * replace existing site * tokens db * site members db * sites db * update site info (title+description) * publish and unpublish db * linting * change compatibility date and linting * allow adding a site without token (and no owner) * fix site tests * test proxy members * wip: site info test * fix(frontend): fix publishing redirection it was not happening because we were not calling the appropiate actions * test(backend): add tests for block revisions Add test to reproduce #1301. Seems to be working fine though. * Error adding a site without token if not an owner * version id provided on unpublish * Security pack own words support comma * fix(frontend): add zomm in and out * Publish/share dialog: Fix url of home path * gw: author server rendered * gw: env port for development * gw: well known endpoint for nextjs * wip: site deployment documentation * disable nostr * documentID unique key + test suite update * add author data on comments * added top and bottom lines when dragging based on the paths * wip: site syncs-in provided documents only * fix(frontend): fix drag and drop in Mac * some frontend fixes * site syncing tests * wip:syncing comments * fix(frontend): fix publish share popover alignment * fix: multiple identical site members * wip: less autorelay verbosity * site only syncs out with site members * wip on new sidepanel * feat(frontend): add activepanel to sidepanele * fixed bug where blocks would be dragged to top when the bottom line was showed. added nested groups code (WIP) * add footer import on sites page * take into account lists in tests * change site bio when updating site info * wip: publish tests * wip: improve site tests * wip: make linter happy * wip: unify db constraints * error getpath on blank path + improve test suite * fix(backend): don't panic on nil datoms iterator Closes #1310. * Citations and Versions sidebar prototype * test(rust): fix clippy lint issues * wip: improve error messages on document finding * check multiple devices in parallel when publishing * identify supporting materials by ID + Version * fix(front): provide supporting material properly * wip: linting and messaging * look at nextjs .well-known path when adding a site * site deployment * fix(frontend): minor fixes on dragging * fix(frontend): transformation to api now respects revision solves #1301 * unify hover effect + cleanup imports * make script portable * fix(frontend): remove shared api client calls * uncomment correct index page ids * member management for owners, remove member * gw: Remove client side fallback * Gateway Dev port fix * gw: query for author on page slug * settings + share hostname display no protocol * publish success message * republish notification * not exposing daemon http ports to the outside * remove the ERROR * added nested groups drag and drop functionality * fix(gateway): fix gateway wrong calls * cleanup imports * remove citation numbers for now * using a more portable curl command to deploy sites * wip: some comments on difficult-to-follow code * fix mnemonics call in onboarding * Fix double https in invite sender * add logs to production build * upgrade to the more advanced script * wip: not defining latest to pull from repo * gw: Minor logging / cleanup * citations number in blocks * Improving sites settings UI * not exposing addresses over http in regular nodes * wip: test docker build action * fix: docker action * Include site docker images in nightlies 6 AM * add temporary docker nightly releases in staging * added styling for nested group drag * added nested groups drag and drop functionality * merge with master * fixed github conflicts * fixed last conflicts * WIP fixing the nested group line * fixed nested group dragging for blocks with multiple children not on the same level * cleanup after mege * commit after pnpm format * WIP dragover on list items * a working version with dragover on list items. WIP, nested group dragging lines don't appear immediately * fixed nested group dragging. works immediately on drag over now. * added styling for nester group dragging. removed comments and logs * removed unused code, comments and logs. pnpm format * ran pnpm format * fmt --------- Co-authored-by: juligasa <11684004+juligasa@users.noreply.github.com> Co-authored-by: Eric Vicenti <eric@vicenti.net> Co-authored-by: Horacio Herrera <hi@horacioh.com> Co-authored-by: Alexandr Burdiyan <burdiyan@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.