Coder Social home page Coder Social logo

harbour-sailslack's People

Contributors

b100dian avatar danvratil avatar dashinfantry avatar decon4 avatar eson57 avatar karry avatar markussammallahti avatar unsanded avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

harbour-sailslack's Issues

Optimize replacing user mentions in messages

Right now the code in MessageFormatter::replaceUserInfo() tries to match IDs of all known users against the message and replace, which is very expensive in large workspaces.

Instead the regex should match all ID-like patterns, find matching user and replace it.

Support conversation view

Right now messages from conversation replies are all shown in the channel as regular messages, making it hard to follow multiple conversations.

Unable to recover connection after network loss

Describe the bug
Originally reported by @vbelloir https://github.com/b100dian/harbour-sailslack/issues/2

Sailslack 0.2

when network connection (cellular or Wifi) is lost (because of lack of coverage or connection is simply switch off), sailslack don't work when connection is back.
User have to kill sailslack and reopen it to get it connected and work again.

To Reproduce
Is there a way to get sailslack logs?

Expected behavior
when connection is back, Sailslack should get connection ready immediately.

No signin on 0.3

I installed the latest version but am unable to login.

When I launch harbour-sailslack, I get

[D] unknown:0 - Using Wayland-EGL
[D] unknown:0 - Setting last version 0.3
library "/vendor/lib/egl/libGLESv2S3D_adreno.so" not found
[D] unknown:0 - NotificationListener set up

When I select 'Sign into a Workspace' from the Pulley menu, nothing happens and I get the following cosole output:

greHome from GRE_HOME:/usr/bin
libxul.so is not found, in /usr/bin/libxul.so
Created LOG for EmbedLiteTrace
[W] modifyPageStack:113 - Error while modifying page stack: Error: Error while loading page: file:///usr/share/harbour-sailslack/qml/pages/LoginPage.qml:139 Type LoginWebView unavailable
file:///usr/share/harbour-sailslack/qml/pages/LoginWebView.qml:5 Type WebViewFlickable unavailable
file:///usr/lib/qt5/qml/Sailfish/WebView/WebViewFlickable.qml:44 Cannot assign to non-existent property "verticalOffset"

[W] unknown:483 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:483: Error: Error while loading page: file:///usr/share/harbour-sailslack/qml/pages/LoginPage.qml:139 Type LoginWebView unavailable
file:///usr/share/harbour-sailslack/qml/pages/LoginWebView.qml:5 Type WebViewFlickable unavailable
file:///usr/lib/qt5/qml/Sailfish/WebView/WebViewFlickable.qml:44 Cannot assign to non-existent property "verticalOffset"

Loaded xulDir:/usr/lib/xulrunner-qt5-45.9.1/libxul.so, appDir:/usr/bin
Created LOG for EmbedLite
EmbedLiteExt virtual nsresult EmbedChromeManager::Observe(nsISupports*, const char*, const char16_t*):82: obj:(nil), top:app-startup
EmbedLiteExt virtual nsresult EmbedTouchManager::Observe(nsISupports*, const char*, const char16_t*):86: obj:(nil), top:app-startup
EmbedLiteGlobalHelper app-startup
EmbedLiteSyncService app-startup
PREFS SERVICE INITAILIZED
EmbedPrefService app-startup
EmbedliteDownloadManager initialized
UserAgentOverrideHelper app-startup
1626237093917   addons.manager  DEBUG   Application has been upgraded
1626237094422   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1626237094438   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1626237094543   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm
1626237094554   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm
1626237094558   addons.manager  DEBUG   Starting provider: XPIProvider
1626237094561   addons.xpi      DEBUG   startup
1626237094564   addons.xpi      INFO    SystemAddonInstallLocation directory is missing
1626237094569   addons.xpi      DEBUG   checkForChanges
1626237094574   addons.xpi      DEBUG   Loaded add-on state from prefs: {}
1626237094580   addons.xpi      DEBUG   getInstallState changed: false, state: {}
1626237094583   addons.xpi      DEBUG   Empty XPI database, setting schema version preference to 17
1626237094586   addons.xpi      DEBUG   No changes found
1626237094597   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1626237094600   addons.manager  DEBUG   Provider finished startup: XPIProvider
1626237094602   addons.manager  DEBUG   Starting provider: LightweightThemeManager
1626237094603   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1626237094605   addons.manager  DEBUG   Provider finished startup: LightweightThemeManager
1626237094608   addons.manager  DEBUG   Starting provider: GMPProvider
1626237094625   addons.manager  DEBUG   Registering shutdown blocker for GMPProvider
1626237094628   addons.manager  DEBUG   Provider finished startup: GMPProvider
1626237094629   addons.manager  DEBUG   Starting provider: PluginProvider
1626237094631   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1626237094633   addons.manager  DEBUG   Provider finished startup: PluginProvider
1626237094635   addons.manager  DEBUG   Completed startup sequence
1626237094958   addons.xpi-utils        DEBUG   Starting async load of XPI database /home/nemo/.cache/harbour-sailslack/harbour-sailslack/.mozilla/extensions.json
Created LOG for EmbedPrefs
1626237095258   addons.xpi-utils        DEBUG   Rebuilding XPI database with no extensions
JavaScript error: jar:file:///usr/lib/xulrunner-qt5-45.9.1/omni.ja!/components/nsSearchService.js, line 4049: TypeError: this._defaultEngine is null

On closing, I get

JavaScript error: jar:file:///usr/lib/xulrunner-qt5-45.9.1/omni.ja!/components/nsSearchService.js, line 4049: TypeError: this._defaultEngine is null
[D] unknown:0 - Application terminating

This is on a Sailfish OS 3.3.0.16 (Rokua) community port.

Any pointers would be highly appreciated.

Add screen with channel details

Either accessible from top pulley in the channel, or via context menu in channel list, add a page that displays details of the channel (topic, purpose, etc.), possibly even allowing the user to edit them,

Signin is broken

Authenticating a new workspace does not work anymore. Cannot click on "allow" on the rendered webpage.

Sometimes threads do not open

Sometimes a channel/chat has threads that show the number of replies but they are not clickable until you open the channel/chat again.

Make notifications work again

The message that Slackfish implemented is not referenced anywhere in the documentation so it may have been deprecated.

The logic is not that complicated, we can probably implement it ourselves.

Evaluate better storage than in-memory map

With many channels and active team, the in-memory cache will grow very quickly. An alternative storage, like SQLite could be used in this case, or the cache must be made smarter about what it really caches.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.