prev Kozaneba Development Diary 2021-08-18 image

Yesterday I implemented the copy function by selecting a range of text and copying it as text.

  • There are some things I want to improve, and I can see how to improve, and some input patterns I forgot to assume, and Iā€™m tempted to continue, but the implementation of the user page is a higher priority.
  • Iā€™m tempted to do the former, comparing a task of the type ā€œIā€™ve got the functionality implemented and want to improve the quality of its outputā€ to ā€œa user page Iā€™ve long thought should be there but doesnā€™t exist at all yetā€.
  • image
  • I think it has something to do with this. - Better off investing in a new S-curve.

If I donā€™t write down what Iā€™m thinking, Iā€™m anxious to forget it and want to implement it now.

  • The search to find clusters and the search to make it one dimensional at the same time was a mistake.
  • Because it is not right to connect words in the upper right direction, although the branches should be connected as a cluster even if they extend to the upper right.
    • image
  • Clusters should be determined first and then made one-dimensional.
  • I still donā€™t support when groups are mixed.
    • Itā€™s designed to be expressed by indentation.
  • I omitted to take into account the large size of the stickies.
    • Distance function should be distance between edges, not distance between centers
    • In that case, the larger the area of the dent, the closer is the dent to the surface?
    • What if itā€™s not stuck?
    • image
      • C is closer according to physical distance as next to A, but it is more natural that B is chosen

Selection doubled by dragging? Moves, scale dependent?

image

[/shokai/ clean up UserScript after moving to another project (event version)](https://scrapbox.io/shokai/ clean up UserScript after moving to another project (event version)).

  • UserScript is determined by a cross between User and Project.
  • Is that really necessary?
    • Especially in Kozaneba
    • YAGNI because I donā€™t feel like I need it.

When using JS code read from a service that distributes JS code (e.g. Scrapbox)

  • There is a risk of unknowing updates and backdoors being planted.
  • Users want to use imports because they are easy, but they donā€™t realize when the fundamentals have been updated.
  • Make import ā€œread, cache, and useā€ instead of ā€œread the latestā€.

/shokai/dogfooding. - I didnā€™t think of user extensibility and dogfooding as related, but they certainly are.


  • The list screen is now ready, title has been changed, and loading display has been added.

  • I was going to be able to change the title or delete it from this list screen, but on second thought, why delete it without checking the contents? I felt that it would be better to just have the delete option at the end of the list.

  • make the āœ…summation better

    • image
  • Fixed āœ…selection dragging bug

    • Drag bugs are scale-dependent
  • āœ…Text copy group support

Making Tutorials Helpful image

  • We have a lot of convergence of things to do, letā€™s improve the tutorial system and change it to a form where a chapter of help is a tutorial.
    • Now the content is an unnamed list, and the headings are simply headline tags.
    • If we can organize this and mechanically handle the headings, we can create a ā€œtable of contents.
    • Tutorials are just reading the ā€œtutorial chapters,ā€ which would be
    • Itā€™s just in the list now, but make it a list of objects with title and body.
    • Keep tutorial listings separate from the overall listing.
    • I used to resume the tutorial with the hatena on the status bar when in tutorial mode, but thereā€™s no point in hiding that hatena when not in tutorial mode, it would be nice to get help from there.
    • First of all, we need to change the inside design to a form that can provide help while keeping the current tutorials available.
    • And I can run automated tests to make sure itā€™s not broken.
  • Allow you to proceed by keyboard? YAGNI

removed: The following pages will explain the advanced features and the philosophy behind Kozaneba.

image

  • It has a table of contents and you can jump from the table of contents to individual pages and back to the table of contents.
  • But I left the tutorial table of contents out, and itā€™s a pretty long list, so I wanted to fold it up.

image

Kozaneba Help

  • What we already have

    • Table of contents
    • Welcome to Kozaneba!
    • digital stationery to organize your thought
    • You can open the tutorial
    • Letā€™s add some Kozane!
    • Letā€™s move Kozane!
    • Letā€™s scroll and zoom the Ba
    • Letā€™s click to show context menu
    • Automatic font size adjustment
    • You can ungroup a group
    • Letā€™s select objects!
    • Itā€™s not saved yet!
    • Letā€™s enable auto-save!
    • Saved?
    • Tutorial FinishedšŸŽ‰
    • We need the practice to use stationery effectively
    • Donā€™t classify, organize!
  • Movement with cursor

  • Opening and Closing Groups

  • Give the group a title

  • Division of stickies

    • I can use it to duplicate and update.
    • Iā€™d like to see it after Replace is on.
  • Feedback function

  • Make important things bigger.

  • Spacebar to full screen

  • origin of Kozane

Other

  • Updating ReactN during range selection is slow and I want to use only DOM.
  • No way to make it smaller if you make it bigger by mistake.
  • Iā€™m sure English speakers would like to see a space between the two when combining text in copy text.
    • Need to make it configurable.
  • User-defined constants
    • Iā€™d like to be able to put it on the net, but waiting to get it from the net before doing any other processingā€¦
    • Constants should be cached locally.
  • Thereā€™s no way for someone without a wheel to zoom in.
    • Enlarge by b

Anne Group Page

After creating a group, I want to close and title it.

On the finish page

  • Send feedback anonymously.
  • You can also post in the forum Announcing that

When I organized my TODO, I realized that I could make the things I need to do bigger and then make them smaller when Iā€™m done.

  • image

User-defined constants, wheel sensitivity, etc. are easy because they are determined by the time the user operates the system, but it is difficult to make a sticky note square, for example. StyledComponent is created based on the constant value. Since these are module-level constants, they are calculated at the time the module is read and are not reflected if changed later. To make this kind of thing changeable, it would require a delay in finalizing the affected items across the board.

Thereā€™s a difference between individual hand customization and overall customization in the first place.

  • For example, if you want to change the color of the border of a group, you donā€™t want it to change only in your hand, but about all the people who see it, so the data for this customization should be owned by Ba
    • And this is after the ability to share without write permissions.

In that sense, the menu expansion is for me.

  • Adding more buttons to the AppBar and
  • Change key bindings

Changing the sensitivity of the wheel, for example, should be stored per device because itā€™s basically tightly coupled to the device. If itā€™s too much trouble to edit on Kozaneba, you could press the fetch button to fetch from a specific URL.

The developer menu, the one I use, is hidden for once, but it could display an extended menu for those who want to do customization.

I just converted it on DeepL and itā€™s not bad.

How about posting what you have written in the Japanese forum in the English forum by machine translation first, and then correcting it when you feel like it?

pScrapboxAutoTrans

As for user extensibility, I was going to set it from the user dialog, but maybe Iā€™ll set it from a new dialog from DevMenu for a while.

  • Itā€™s not a good idea to put it in a place where users can see it until itā€™s done right to some extent.

Itā€™s tempting to push the edge of what is technically feasible or not, but that would make the room look like a room with prototypes scattered all over the floor, and most users would not be comfortable, so I need to isolate me.

next Kozaneba Development Diary 2021-08-20


This page is auto-translated from /nishio/Kozaneba開ē™ŗę—„čؘ2021-08-19 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.