prev Kozaneba Development Diary 2021-08-29

About Scrapbox Kozane

  • Canā€™t load.
  • Iā€™m on Kozaneā€™s migration algorithm right now, but this is not appropriate.
    • Specifically, the context menu becomes Kozaneā€™s

Scrapbox Kozane is mostly done, so weā€™ll do the rest of the work for release.

  • First, stop borrowing event handlers from ordinary kozane.
  • I thought that, but the click event is picked up by the canvas mouseup in the first place.
  • This is where the click process is changed for each type of target.
  • The mousedown process itself is pretty much the same for both Kozane and the group.
    • Instead, itā€™s just a difference of forgetting to implement it.
  • Maybe we should annex this one?

Refactoring of events has been completed and menus for Scrapbox Kozane and Gyazo Kozane have been added.

  • But there are some things that work in common with regular Kozane, so refactoring the menu first.

Well, the edit menu is not appropriate for Scrapbox Kozane.

Scrapbox Kozane could be implemented, but how to get users to add it?

I deployed it and got an email from Google saying ā€œitā€™s not good to publish unrestricted APIā€.

  • When I followed the instructions and put restrictions on it, it stopped working. w
  • Itā€™s not enough to only allow kozaneba.netlify.com, you have to include regroup-d4932.firebaseapp.com as well, otherwise OAuth login wonā€™t work.

image https://kozaneba.netlify.app/#view=j5N9La0Cc4EhNNpjcACR

I donā€™t like the lack of feedback when I paste.

  • attached

edited and cloned.

  • I know itā€™s suddenly exposed to the user, but I think itā€™s essential to allow the user to customize the menu.

https://twitter.com/Foam_Crab/status/1431157524804165635?s=20

I felt that Kozaneba smoothed out my thinking very much by giving me the sense of manipulating things with my hands, such as expressing the perspective of the nuances of words in terms of physical distance, and being able to name groups and open and close them. https://twitter.com/foldrr/status/1432245268510957568?s=20 There is a ZUI-like feeling of being able to do operations that are usually done in the file system (current move) or outliner (zoom) steplessly instead of zeroing in.

On another matter, pasting the Scrapbox project URL (not the page) and then dragging it opens the crash report. I have sent the reproduction procedure from the crash report here.

  • I have not yet decided what to do with URLs that are not pages, but I thought that if I set the general URL to ā€œKozane for external links,ā€ I might be able to achieve ā€œI want to link to a placeā€ together.
  • Yes, I agree. I agree, it would be useful if URLs could basically be ā€œkozane to external linksā€ and some URLs such as Gyazo could be previewed as they are now.

I know a lot of people will try, ā€œI wonder what happens if I post the project URL,ā€ so Iā€™m just going to issue an ALERT and say, ā€œYou canā€™t do that.ā€

What the external link Kozane should be

  • Only displaying URL is not good enough.
  • If there is an og:image, I want to display it, if there is a title, I want to use it, etc.
  • And if there is a favicon, I want to use it?
  • In fact, Regroup had a ā€œWikipedia sticky noteā€
  • If you have a link kozane, you can link to other places.
    • How to display it.
    • The screenshots are a bit cluttered and donā€™t give much information.
    • Title of the place and indication that the link is to a place
      • You have favicon.

favicon image Well, better than using Reactā€™s default icon anyway.

The fact that Gyazo Kozane has been created means that handwritten additions can also be made. image image

Groupingā€¦

  • image
  • Oh, Iā€™ll be.

Itā€™s done.

  • image
  • mix-blend-mode: multiply; border: 0;
  • White background color becomes transparent when using multiply composite.

image

  • Hmmm, the one without og:image would be a disappointmentā€¦
  • image

If you paste the Scrapbox URL into Kozaneba, you can create a Scrapbox Kozane, and when you press the expand menu, all pages within 2hops become Kozanes, and you can move them freely. image

Iā€™d like to reproduce it and fix it tomorrow. I want to reproduce it somehow and fix it tomorrow.


This page is auto-translated from /nishio/Kozaneba開ē™ŗę—„čؘ2021-08-30 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iā€™m very happy to spread my thought to non-Japanese readers.