Lisäosan Open Comments versiohistoria - 3 versiota
Open Comments tekijä Open-Comments
Lisäosan Open Comments versiohistoria - 3 versiota
Ole varovainen vanhojen versioiden kanssa! Ne näytetään vain testauksen ja viittausten vuoksi.On suositeltavaa käyttää aina lisäosan uusinta versiota.
Uusin versio
Versio 1.3.8
Julkaistu 6. helmi 2026 - 6,92 MtYhteensopivuus: firefox 140.0 ja uudemmatfixed login issues in iframe.
Fixed bug of avatar not showing in iframe.
Fixed executions errors.Lähdekoodi julkaistu lisenssillä Kaikki oikeudet pidätetään
Vanhemmat versiot
Versio 1.3.6
Julkaistu 5. helmi 2026 - 6,92 MtYhteensopivuus: firefox 140.0 ja uudemmatUpdated login problems in iframe .Lähdekoodi julkaistu lisenssillä Kaikki oikeudet pidätetään
Versio 1.3.5
Julkaistu 30. tammi 2026 - 6,92 MtYhteensopivuus: firefox 140.0 ja uudemmatUI / Navigation
Split Activity into two internal tabs: Notifications and My Comments (single view switch, no double-loading).
Only the selected Activity tab loads data; the other stays idle until clicked.
Activity tab state persisted in-memory via profileTab (notifs / activity).
Notifications UX
Fixed ugly notification rows that showed: Someone: <date> + <username> replied....
New rendering logic:
Displays actor • date on one meta line (ex: root • 31/01/2026).
Displays a cleaned message body (ex: replied to your comment) without duplicating actor.
If actor_name is missing or equals “Someone”, tries to extract actor from message.
Falls back to Notification when actor cannot be determined.
Loading / Pagination
Notifications still support Load more:
Uses limit=20 and before=<lastId> pagination.
Button visibility controlled by API hasMore.
Activity (“My Comments”) still supports Load more with offset paging.
Unread sync / Badge sync
Unread badge inside popup stays consistent:
Updates the popup badge (nav-notif-badge) immediately.
Sends OC_UNREAD_UPDATED to background to keep extension badge in sync.
Uses optimistic “mark as read” then server sync; optional forced refresh via OC_NOTIF_REFRESH.
Added helpers
Added formatting/parsing helpers:
formatNotifDate()
parseActorFromMessage()
pickActorName()
cleanNotifBody()Lähdekoodi julkaistu lisenssillä Kaikki oikeudet pidätetään