from Kozaneba Development Diary 2021-09-02 2021-09-03Kozaneba Development Diary
I was happy to see a series of tweets about the Markdownization of administrative texts, which had about 300,000 impressions, and I was happy to see that some people tweeted about it, drawing me into action, which is the civic tech culture. this. you are the ânobodyâ! https://twitter.com/hal_sk/status/1433552759593189377?s=21
- Iâm going to create a function to import Scrapbox content as Kozane because I need it, but maybe it would be nice to be able to import Markdown as well.
Auto Layout, if you think about it, the system doesnât save on position update, but on user operation, so you donât have to turn off auto save to do it.
release notes
- Fix to make only one user have the right to edit when cloud saving is turned on.
- When user Y opened a Ba created and read-only shared by user X and saved it as another name, the information that X had editing privileges was saved as well.
- Therefore, the Ba saved by this user Y was displayed in the place list of user X and could be rewritten.
- Automatic backup to browserâs IndexedDB
- Currently default: off, will change to default: on after using it myself for a while
- Added ability to save backup data to a new Ba
- Fixed padding when the group has a low free space ratio.
- Solved a problem that made it difficult to click on a group instead of its contents when, for example, 9 kozanes were added.
- Automatic deletion of empty groups with no title
Rebuild Kozaneba Development
-
Because it also served as a demonstration for users, it was used in a way that was contrary to its original purpose of âgetting your head out of the clouds.
- I put Scrapbox Kozane and draw illustrations even though I donât need it.
-
Required Functions
-
I use it and find it.
- Functions found in Regroup
- Handwritten additions
- Fewer people than expected had iPad+Apple Pencil
- Hand-drawn âenclosures and arrowsâ prevent âmoving itemsâ.
- putting the cart before the horse
- A figure that is easy to move should have an âimage itemâ since that is the item
- Handwritten additions
- Fine Features
- First, try to realize it with user extensions
- More samples.
- Designed to be easily expandable.
- Placement of expansion
- Iâd love to try it without reloading the browser.
- First, try to realize it with user extensions
- Functions found in Regroup
-
Scrapbox Link Expansion
- Only add pages that are not already there.
- Connect the arrows
-
Scrapbox Content Import
- From BaDialog
- Options for AddKozaneDialog
- Ignore code regions
- Treat indented bullets as a group
- Hopefully Markdown can do the same.
-
Selection textualization
- Scrapbox Kozane cannot determine the appropriate wording until the default project is determined.
- Texting is by title only.
- Create a separate Scrapbox format export?
- Scrapbox Kozane cannot determine the appropriate wording until the default project is determined.
-
I want to scroll the screen with a selection.
- status quo
- Selection display does not scroll
- two-finger gesture
- At least show the whole thing in spaces.
- If you can do this, you can âplace it at a magnification that allows you to see whatâs inside, use the overall zoom to place it in the proper position within the whole, and then go back to the original viewpointâ.
- status quo
-
Manage selections without ReactN
Multilingualization of tutorials Paste from Regroup Additional user rendering methods
Arrow function Tablet Support Keichobot
Add yesterdayâs Arrows are a way to express clear relationships and make them unbreakable to Ba about arrow functions and organize
In other words, âIf the dependency is a tree, itâs fineâ and âIf itâs circular, itâs badâ are resolved as âWe just need to make a bipartite graphâ.
I called it an arrow function, but even arrows need to âswitch between double and single arrowsâ to begin with.
- Without a head on both sides, itâs just a line.
This weekâs summary
- Scrapbox Kozane
- picture sumo wrestler
- Reduce unnecessary redraws due to misunderstanding of ReactN hook specifications
- Copy and paste a selection (JSON to clipboard so it can be pasted to another location)
- Create backup locally
I made a backup without thinning it out to try it out, and it came out to about 7 megs.
- About Thinning
- If thereâs another backup in, say, a second, you can delete it.
- In other words, the shorter the âtime until next backup,â the less you need.
- Just erase them in order of shortest to longest.
- If itâs over 12 hours, it should be eligible for preservation.
- Even if you kept updating 24 hours a day for a year, you wouldnât get a thousand.
- About 11KB with âarrow function Baâ
- 10 times the size, updated 24 hours a day for a year, 110 MB, no problem.
- If thereâs another backup in, say, a second, you can delete it.
js
nishio: put âhit the Scrapbox APIâ and âparse the given string with scrapbox-parserâ on Kozanebaâs API. But I havenât figured out what to do after this yet.
nishio: Is â
a[b]c[d]e
â good because it would be 5 alternating rows of regular kozane and Scrapbox kozane?
nishio: I made the Scrapbox kozane about 3 times bigger than the regular kozane the other day, but if I keep this in mind, should I have kept the default size the same? Should I have kept the default size the same? No, but considering the way it looks on Scrapbox, the card is not inserted in the sentence, so I added it as a regular kozane and the card is at the end?
nishio: first Cloud Function, the design is clunky. It converts the Scrapbox URL to an API URL on the server side, so you can only hit a specific URL. Either rewrite it so it can hit anythingâŠ
nishio: If we create a mutual conversion between Scrapbox and Kozaneba, and then create a mutual conversion between Markdown Kozaneba, we could eventually create a mutual conversion between Scrapbox and Markdown interconversion could be made (typical desktop theory).
nishio: of course Iâm not aiming to be a converter, so Iâm willing to throw away code notation and tables
This page is auto-translated from /nishio/Kozanebaéçșæ„èš2021-09-03 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.