Comments (6)
Random notes on this:
I like js/crypto.js, js/webcrypto.js, and js/api.js. I'm currently thinking rename js/helpers.js to like js/textsecure.js and then move those into a textsecure-lib folder or so. Those will then be publicly consumable and can form the backbone to any JS-based TS plugin.
from signal-desktop.
helpers.js is the file of shame--nothing personal, just kindof a big lump
of spaghetti code. renaming it won't make it prettier. I suggest a strategy
of parceling off logical chunks until there is no more helpers.js.
If you make a textsecure.js (or perhaps it should be signal.js or
whisper.js or even axolotl.js), it should probably just define the main
library interface, with functions for sending messages, and registering
onMessageReceived (or similar) event callbacks.
On Thu, May 15, 2014 at 8:11 PM, Matt Corallo [email protected]:
Random notes on this:
I like js/crypto.js, js/webcrypto.js, and js/api.js. I'm currently
thinking rename js/helpers.js to like js/textsecure.js and then move those
into a textsecure-lib folder or so. Those will then be publicly consumable
and can form the backbone to any JS-based TS plugin.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-43291486
.
from signal-desktop.
Oh, no question it's a huge mess. My point is more to reactor it into modules that actually make sense together and then hide most of the crud from public api consumption.
from signal-desktop.
Took out some of the low-hanging fruit in 05101b6 and 6bc19ef. Mostly just split out things into semi-logical namespaces. The real offenders are still there (and not namespaced) but the namespaced things are somewhat clean or, at least, clean enough for a release to me.
from signal-desktop.
Well, +/- some really ugly APIs which need cleaned (promises so we can expose exceptions and error handling, mostly)
from signal-desktop.
Closing this, as it is out of date and in progress, at least for most of the issues (feel free to reopen with more specifics if anyone disagrees).
from signal-desktop.
Related Issues (20)
- Screen Sharing is unbearably laggy HOT 5
- Strange image artefact comes with spell-check indication. HOT 13
- Mac M2 Desktop not Syncing HOT 2
- Message history lost after relinking HOT 1
- Render process is gone when turning on my VPN while Signal is running on OSX Ventura HOT 1
- Selecting messages, then "delete messages" deletes everything in thread. HOT 4
- Crash in machine. GPU process exited unexpectedly: exit_code=133 HOT 9
- I would like to remove the background for each chat message. HOT 1
- Signal Desktop App on Windows does not properly handle UNC attachment or sticker paths. HOT 2
- Photos are duplicated in local storage and not deleted HOT 2
- "Note to Self" chat keeps getting unpinned after every update HOT 6
- Main window does only conditionally open up when using wayland (signal-desktop 6.43.1) HOT 1
- IP leak when calling someone HOT 2
- Unable to send messages to specifc contact HOT 8
- Pinned direct message chats not staying pinned in signal desktop HOT 8
- SIGNAL desktop App doesn't display/receive pictures HOT 5
- Edited Message Fails to Propagrate, Subsequent Post, Similarly HOT 6
- Scrolling in sticker panels does not work HOT 2
- External monitor starts blinking when launch Signal Desktop. MacBook M3 Pro HOT 1
- Security Issue: No verification required after copying %AppData%\Signal to another device 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 signal-desktop.