Ruby Mamistvalove
Vox get-vox.com Daino Notes get-notes.com
Personal site: https://rubymamistvalove.com
Twitter/X: https://twitter.com/mamistvalove
GitHub: https://github.com/nuttyartist
Email: ruby.mamistvalove (AT) gmail (DOT) com
Indeed, I wrote my note-taking app using Qt with QML: https://get-notes.com
I would plug my note-taking app written in Qt C++ and QML: https://get-notes.com.
I gave it the task to recreate StackView.qml to be feel more native on iOS and it failed - like all other models...
Prompt:
Instead of the current StackView, I want you to implement a new StackView that will have a similar api with the differences that:
1. It automatically handles swiping to the previous page/item. If not mirrored, it should detect swiping from the left edge, if mirrored it should detect from the right edge. It's important that swiping will be responsive - that is, that the previous item will be seen under the current item when swiping - the same way it's being handled on iOS applications. You should also add to the api the option for the swipe to be detected not just from the edge, but from anywhere on the item, with the same behavior. If swiping is released from x% of current item not in view anymore than we should animate and move to the previous item. If it's a small percentage we should animate the current page to get back to its place as nothing happened. 2. The current page transitions are horrible and look nothing like native iOS transitions. Please make the transitions feel the same.
> Unlike common object-oriented GUI frameworks, Ribir widgets do not need to inherit a base class or hold a base object. It is a pure composition model
I'm really not sure how this "composition" is any different to the usual inheritance you see in frameworks like QML *in practice*.
This in Ribir:
```
Column {
align_items: Align::Center,
item_gap: 12.,
@H1 { text: "Todo" }
}```
Would be this in QML:
```
ColumnLayout {
spacing: 12
Text {
Layout.alignment: Qt.AlignHCenter
text: "Todo"
font.pointSize: 17
}
}```
This project is an enhanced reader for Ycombinator Hacker News: https://news.ycombinator.com/.
The interface also allow to comment, post and interact with the original HN platform. Credentials are stored locally and are never sent to any server, you can check the source code here: https://github.com/GabrielePicco/hacker-news-rich.
For suggestions and features requests you can write me here: gabrielepicco.github.io