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

blockRevision is not changing after edit #1301

Closed
horacioh opened this issue Feb 3, 2023 · 8 comments
Closed

blockRevision is not changing after edit #1301

horacioh opened this issue Feb 3, 2023 · 8 comments
Assignees
Labels
scope: daemon Daemon and p2p networking type: bug Something isn't working
Milestone

Comments

@horacioh
Copy link
Collaborator

horacioh commented Feb 3, 2023

Describe the bug

Whenever you press Publish (or whatever this button is called now 😀) all the blocks you have touched would change the revision. And all these touched blocks would have the same revision (which now I think may be a bit counter-intuitive). Revision is the ID of the Change that “touched” a block.

The bug is that after editing a block the revision is not changing. I found this error when I wanted to filter conversations based on blockId and blockRevision, but it was not filtered.

To Reproduce

  1. create a new publication with one block
  2. edit
  3. change the block text
  4. publish again
  5. the revision should be different, but is not.

Expected behavior

I expect the revision of a edited block to change from one version to another.

@horacioh horacioh added type: bug Something isn't working scope: daemon Daemon and p2p networking labels Feb 3, 2023
@horacioh horacioh added this to the Build 13 milestone Feb 3, 2023
burdiyan added a commit that referenced this issue Feb 27, 2023
Add test to reproduce #1301. Seems to be working fine though.
@burdiyan
Copy link
Collaborator

@horacioh I added a test that does what you describe, (e18879f) but it seems to be working fine: the block revision changes as expected. Can you try again, and let me know if I missed something?

@horacioh
Copy link
Collaborator Author

horacioh commented Mar 1, 2023

right now I get revisions to look like this: $LOCAL$:231. is this correct?.

It also happens that when I create a new change the revision stays the same.

@horacioh
Copy link
Collaborator Author

horacioh commented Mar 1, 2023

@burdiyan Indeed revisions does not change between versions that change the same block

mintter://bafy2bzacedbbsdlw5jj6lbl4vzqzek3nlbydabdvh4jqls2qjw7ivny7wzdcg/baeaxdiheaiqb4f56d5abwme7aezaqj76g2egevrkf645rf2lektyqa4iawq3pmi

@burdiyan
Copy link
Collaborator

burdiyan commented Mar 1, 2023

right now I get revisions to look like this: $LOCAL$:231. is this correct?.

These are for drafts. Should never be like that for documents that are published.

@burdiyan
Copy link
Collaborator

burdiyan commented Mar 1, 2023

@horacioh OK, apparently something is wrong here, and I think it happens on the frontend during the API -> Slate conversion.

I created one document, and this is the response from GetPublication:

{
  "version": "baeaxdiheaiqb6fap5mbdgarn5xcekcu4kihyx6pfar2vi6ng3hq2a5bdypgytgy",
  "document": {
    "id": "bafy2bzacedwj7tpx52xwpqwdpakmxrri7oopnsaukeavhc6pliwhx3j3m5cqg",
    "title": "Hello World",
    "subtitle": "",
    "author": "bahezrj4iaqacicabciqhhx2eqm73e5f5c3mgbdrfkwn77xrmbm2ai6tuebfqyhqnbjljnba",
    "create_time": "2023-03-01T18:01:10.916096Z",
    "update_time": "2023-03-01T18:01:16.224512Z",
    "publish_time": "2023-03-01T18:01:16.224512Z",
    "children": [
      {
        "block": {
          "id": "XG_0fwQo",
          "type": "statement",
          "text": "Hello World",
          "attributes": {},
          "annotations": [],
          "revision": "bafy2bzaceaprid7laizqelpnyrcqvhcsb6f7tzieovkhtjwz4gqhii6dzwezw"
        },
        "children": []
      },
      {
        "block": {
          "id": "1XwPbBZ2",
          "type": "statement",
          "text": "This is a block.",
          "attributes": {},
          "annotations": [],
          "revision": "bafy2bzaceaprid7laizqelpnyrcqvhcsb6f7tzieovkhtjwz4gqhii6dzwezw"
        },
        "children": []
      }
    ]
  }
}

Then I updated a block, published again, and this is what I get back:

{
  "version": "baeaxdiheaiqbibu63uwpx6ozyffljvzh6ywx3bp3m6q73j2unjmz7apfcog5pxi",
  "document": {
    "id": "bafy2bzacedwj7tpx52xwpqwdpakmxrri7oopnsaukeavhc6pliwhx3j3m5cqg",
    "title": "Hello World",
    "subtitle": "",
    "author": "bahezrj4iaqacicabciqhhx2eqm73e5f5c3mgbdrfkwn77xrmbm2ai6tuebfqyhqnbjljnba",
    "create_time": "2023-03-01T18:01:10.916096Z",
    "update_time": "2023-03-01T18:04:06.552576Z",
    "publish_time": "2023-03-01T18:04:06.552576Z",
    "children": [
      {
        "block": {
          "id": "XG_0fwQo",
          "type": "statement",
          "text": "Hello World",
          "attributes": {},
          "annotations": [],
          "revision": "bafy2bzaceaprid7laizqelpnyrcqvhcsb6f7tzieovkhtjwz4gqhii6dzwezw"
        },
        "children": []
      },
      {
        "block": {
          "id": "1XwPbBZ2",
          "type": "statement",
          "text": "This is now changed.",
          "attributes": {
            "revision": "bafy2bzaceaprid7laizqelpnyrcqvhcsb6f7tzieovkhtjwz4gqhii6dzwezw"
          },
          "annotations": [],
          "revision": "bafy2bzaceakanhw5ft57twobjk2noj7wfv6yl63huh62ovdklgpydzitrxl52"
        },
        "children": []
      }
    ]
  }
}

See, how in the second response the revision did actually change, but somehow the old revision appears in the attributes of the block, which shouldn't happen at all, and I think it happens during the Slate->API transformation somewhere.

burdiyan added a commit that referenced this issue Mar 3, 2023
Add test to reproduce #1301. Seems to be working fine though.
@horacioh
Copy link
Collaborator Author

horacioh commented Mar 6, 2023

@burdiyan found the issue. I was not extracting revision from the values I was getting from the backend, and that's why sometimes we were storing revisions as attributes.

now it should be fixed

@burdiyan
Copy link
Collaborator

burdiyan commented Mar 6, 2023

Closing this then?

horacioh pushed a commit that referenced this issue Mar 15, 2023
Add test to reproduce #1301. Seems to be working fine though.
horacioh added a commit that referenced this issue 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>
@burdiyan
Copy link
Collaborator

Closing. Reopen if it's not fixed.

horacioh added a commit that referenced this issue 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
Labels
scope: daemon Daemon and p2p networking type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants