Comments (7)
Actually the buffer lines have an id since WeeChat 3.8 (see issue #901), but I just realized it's not sent to weechat relay clients, so I'll add this.
I'll add identifiers in the other objects, starting with the buffers.
For nicks, is it really needed as well (as a nickname is unique in the nicklist)?
from weechat.
That's great, thanks!
For nicks, is it really needed as well (as a nickname is unique in the nicklist)?
Well, we are in fact detecting item movements when diffing the nicklist. So if you change your nick from foo
to bar
, you would see your name visually move upwards. Without IDs, you'd see one name disappear and another name appear. On the other hand, we should not delude ourselves into thinking that in reality anyone cares about nicklist animations...
from weechat.
I added unique identifier (called id
) in buffers, that persists across /upgrade
.
For nicks, this is a bit more complicated to add as-is, it can be added later, I plan to remove list of nicks in IRC plugin and use only buffer nicklist.
I keep issue open until it's implemented.
from weechat.
I would still prefer to have the nicklist as a plugin, in that context
from weechat.
If IRC plugin stores data on the core nicklist, it must be in core.
As all plugins are independent, IRC must not depend on another plugin to be able to run fine.
Maybe you could detail your idea @weechatter, and explain why for you it could be better to have a nicklist as plugin?
from weechat.
The concept of weechat is modular. buflist is an good example, it displays buffers instead of nicks but its a plugin.
from weechat.
I finally added the id in nicklist groups and nicks, so I close this issue.
This id is returned in the new API relay (see the spec here: https://specs.weechat.org/specs/2023-005-relay-http-rest-api.html#sub-resource-buffers--nicks).
Protocol "weechat" is unchanged, as it should be progressively replaced by the "api" protocol, and may even be removed in a future version (when no more clients are using it).
from weechat.
Related Issues (20)
- Support for more notify levels
- Behaviors search_text and search_text_here the same? HOT 1
- Expose setting custom FIFO path as CLI argument for convenience HOT 1
- Why does my custom buflist.format.buffer not respect color changes by weechat? HOT 1
- different syntax between mouse and cursor mode to specify all keys
- Error decoding websocket frame for client (API relay)
- account-notify causes /who spam in server buffer
- ruby: (some) builtin functions not available with ruby 3.3 HOT 4
- unban with range as parameter HOT 1
- "Raw" logging HOT 4
- Support connecting to IRC via AF_LOCAL (AF_UNIX) UNIX Domain Sockets HOT 1
- weechat still split on 512 when ircv3 draft/multiline is enabled HOT 1
- /list buffer survives closing its server buffer parent
- "/relay raw" resulted in an infinite loop HOT 3
- Regex /list searches do not create or populate a dedicated list buffer HOT 3
- python: Segfault on exit with certain scripts HOT 2
- 4.3.1: test suite fails in `unit` unit HOT 3
- Input prompt is not displayed in IRC private buffers and DCC chat buffers (xfer plugin) HOT 1
- deb: Please install ReleaseNotes.adoc (and ChangeLog.adoc with extension) HOT 1
- screen garbled after switch/scroll to a specific buffer line, Unicode-related
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 weechat.