Updated Deep Dive Into WeKan (markdown)

Lauri Ojansivu 2023-09-22 21:15:55 +03:00
parent 25b0ddb838
commit 47ed26f27f

@ -110,9 +110,25 @@ From https://github.com/wekan/wekan/issues/4578#issuecomment-1407769397
- https://www.techempower.com/benchmarks/
- https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks
## Multiverse WeKan: Screenshot at FreeDOS Dillo
## Screenshot of Multiverse WeKan at FreeDOS Dillo
![freedos-dillo](https://user-images.githubusercontent.com/15545/190492967-f2770d0e-86a1-4822-93e7-68c65b23d6c4.png)
- https://github.com/wekan/wekan/issues/4578#issuecomment-1250143726
## Screenshot of Multiverse WeKan at Netsurf
### Group and count by first character of board names
From https://github.com/wekan/wekan/issues/4578#issuecomment-1250143726
When there is a lot of boards, it is very useful to group by first character of board (and after that click charater to see list of boards for that character, to be added later). I could not figure out how to do it with MongoDB aggregate query. Here is how I did it with SQLite, for type board. SQLite returns results immediately. Note that emojis, UTF-8 shows also on Netsurf browser. TODO is to figure out, could I get these visible also in FreeDOS Dillo browser.
```
SELECT _id, substr(title,1,1), COUNT(*), type from boards
WHERE type=:type GROUP BY substr(title,1,1) ORDER BY substr(title,1,1) ASC;
```
Actually, somewhere I saved answer from ChatGPT or Bing AI search, what this SQL query using MongoDB Javascript syntax. So maybe I should ask again.
https://github.com/wekan/php/blob/main/page/allboardschar.php
![wekan-allboardschar](https://user-images.githubusercontent.com/15545/190877008-ec8a035b-10d4-432a-b3cb-581983b5e24e.png)