Comments (11)
Nice, that was really fast! User specified timezones looks pretty cool to me. I'd want to see seconds but I could see it working without that too.
So, in some IRC clients they have timestamps on the same line on the left. Something like
[1m in] ishan: test
[4m in] ishan: test 2
[4m in] ishan: nice!
[4m in] ishan: /tz Asia/Dubai
[10:44 am] ishan: test!
or maybe it could be distinguished from the rest in some other way
1m in
ishan: test
4m in
ishan: test 2
ishan: nice!
ishan: /tz Asia/Dubai
10:44 am
ishan: test!
Indenting might mess up some of your other layout though, so don't know if it is worth it.
I'm happy to have timestamps though, even the way they are now.
from devzat.
from devzat.
I have tried this before, lemme try implementing again, I'll let you know how it goes.
from devzat.
The problem with this is that we have no idea what the user's time zone is (we could try getting it with IPs but that'll be quite a hassle)
What we could do is instead display the timestamp as minutes since the user joined, would that be okay?
from devzat.
Or we could ask the user to add in their timezone
from devzat.
Implemented both!
from devzat.
should it show the seconds too or is that unnecessary?
from devzat.
I like the second idea you have! But you're right about it messing up some layouts. Is there another way we could distinguish the stamps? Maybe I could have an extra line above and below the stamps or maybe I could change the timestamp's color, what do you think?
from devzat.
(I think the first design (of the IRC clients) makes the stamps too intrusive and the interface less clean)
from devzat.
Yeah, I think color would work. I think an empty line above could work too. We'd need to try it to see if two lines for timestamps is too much, though I think an empty line is easier to visually distinguish than color.
from devzat.
tried empty lines, looked bad, now we have timestamps that take up only one line, print on the right for zero intrusive-ness and also leave one line empty between messages! absolutely perfect!
from devzat.
Related Issues (20)
- Support a Matrix Bridge HOT 4
- Keep connection alive HOT 9
- Support for stdin? HOT 7
- got banned lol HOT 2
- It freaks out on me when I use kitty terminal HOT 5
- Better input system HOT 11
- Fix line counting algo HOT 2
- Kick yourself HOT 1
- Single line break HOT 5
- Add pfp depending on the user colours to slack HOT 4
- Changing behavior of `cd` HOT 2
- Crash caught when formting markdown link HOT 6
- May we have different languages supported? HOT 4
- Few Question in using devzat HOT 1
- Add Mute/Unmute Commands to Devzat
- PSA: HOT 1
- Use Docker Container to Run Devzat Servers HOT 1
- List of used plugins HOT 1
- Will not compile on Raspberry Pi HOT 18
- Tags HOT 2
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 devzat.