Comments (14)
You can close the modal by clicking on the dark background. Please git pull
, this is in one of the latest patches.
You're right, this is not optimal usability. We should look into adapting modal size to screen resolution and work towards adopting a more flexible user interface.
from twister-html.
@dionyziz should we close this for now then?
from twister-html.
No, let's keep it open. It's a bug that needs to be addressed.
from twister-html.
@dionyziz +1
from twister-html.
I don't seem to have the patch for clicking the background (or 'esc'?), could we merge this to the master?
from twister-html.
I think that patch was reverted because it was giving problems in some places.
from twister-html.
Would that "click away to close" patch solve this? Or it would be too ugly?
from twister-html.
@rbertoche no it's the proper solution and esc key should also be added, but as mentioned the patch was reverted as it caused some other bug, another patch needs to be written or the bug ironed out.
from twister-html.
ok, previews of what the modal looks like after my fixes... note that the modal is now positioned from the top of the screen, so the top bar will always be visible regardless of resolution. The "Posts" number has actually been pushed to the right like it appears in the "single line" screenshot, I just couldn't be bothered to re-take the others...
from twister-html.
IMHO, we need full page for profiles not only modal windows and on small screen we can show full profile pages
from twister-html.
That's a good point. However, one issue with fullscreen profiles is navigational speed/usability... Because of postboard/post sync not working properly, most people are currently forced to check profiles one by one to see recent messages. If each profile is a page refresh, it takes twice the time, and you also have to think about a new solution for navigation from one profile to the next. I just wouldn't do it until the timeline bug is fixed; I'd rather somebody approximated the effect by reworking following.html, which tbh has to be done anyway.
The idea behind this change was just to make the current modal a bit more flexible, allowing people with smaller screens to actually close it. I'd merge this as a bug fix, waiting for more substantial changes further down the line (this is just playing with CSS, really). But I'm waiting for @miguelfreitas to sanction it :)
from twister-html.
@toyg 👍 good stuff! I didn't test it yet but from the screenshots it's very nice :)
@iShift different issue.
from twister-html.
I looked at your patch. It's really looking nice -except for me hater of radius at photos- and far more compact.
Can't get this random padding off from the bottom of the modal, though. That's why it was done with absolute pixel sizing - which was worse. As both their height are set in percentages of the page, postboard and it's scrollbar can't follow modal borders correctly upon window resize.
Sometimes the postboard's larger than the dialog and hides partially, or instead a white padding is seen at the bottom. It would be marvelous to be able to use a percentage of the parent div, instead of the entire page.
Is it really impossible to allow overflow handling without having to set height? To somehow use all avaiable space from another div that has a set height?
I'm almost suggesting css edition from js - setting heights inside the modal based on page size in pixels.
from twister-html.
I tried a bit, messed with a lot of code, but only got to move the padding to another place. Though it got really nice on a 600px tall window, on a 1000px> it looks like a gargoyle.
The only real gain was that now it can't hide any texts, at any window height.
The idea was to get 2 separated "modal dialogs". That way the second one has height and overflow: auto.
I forked and pushed to my clone on github, if you wanna take a look.
from twister-html.
Related Issues (20)
- migrate to one page application HOT 4
- persistent storage maximum size reached HOT 2
- empty conversation window, after click on retwisted (.post-text) block
- following modal on chromium HOT 1
- invalid twistday date (local dates not match) HOT 4
- in IE font not work
- Decide message size limits and options HOT 14
- new location hash scheme HOT 6
- Adding webtorrent support HOT 18
- Can't see "Top Trends" section on low res screen when "Who to Follow" gets populated.
- Feature request: Angular HOT 1
- "Who to Follow" populated by default
- The search does not work if it is minimised. HOT 3
- Problems when sharing overlength texts
- What features should be implemented to set the Nin theme by default?
- Some features not available in the blaster branch HOT 1
- [blaster] tox/bitmessage links not displaying sometimes
- [blaster] favorite messages bug list
- Direct messages stop receiving on LocalStorage size overload
- Avatar mystics in direct messages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twister-html.