Defer password-form replay to the next task so Firefox finishes dispatching the original native submit event. Keep duplicate submissions blocked and retain useraccounts validation and two-factor handling.
Reproduced registration success followed by silent login failure in Firefox 156.0.1. Verified wrong-password rejection, click and Enter login, and cookie resume in the rebuilt app. Add native-event browser and negative unit coverage; Chromium password/TOTP and emailed-code checks also pass.
Thanks to xet7.
Apply enabled member overrides before board and global defaults. Show inherited
status and saved formats using existing translations, and keep the card section
named Date. Cover rendering, exports, permissions, date-only formats and settings
isolation.
Thanks to xet7.
Capture sign-in submission before asynchronous provider selection, keep the form mounted, and complete only the chosen login path. Preserve password validation and show provider errors without redirecting.
Thanks to Nissulya and xet7 !
Fixes#6692,
Read stored per-user list state reactively instead of caching an early expanded fallback in Session. Cover profile hydration and a Chromium reload with the persisted swimlane-scoped value.
Thanks to Nich01asFox and xet7 !
Fixes#6712,
The non-Latin keyboard bridge dispatches synthetic events on document. The shortcut filter previously called closest on that non-element target, throwing during Tab navigation on signed-out pages. Fall back to the focused element and safely reject missing focus.
Unit tests cover native and document-targeted events, form and interactive controls, editable content, selections, disabled shortcuts and Escape. The signed-out layout browser regression passes in Chromium.
Thanks to xet7 !
Avoid a stale empty swimlane or list cache in the destination subscription ready callback. Cross-board moves now select a valid destination and enable Done without waiting for another user change. Cover delayed cache refresh alongside stale requests and rejected operations.
Keep mobile sidebar controls below headers that appear after login or a route change. Cover delayed rendering, resize updates and destroyed templates, and wait for document readiness in the mobile Search browser regression.
Add board controls for minicard collapse, labels above the title, checklist due dates and the outer checklist heading. Keep previously collapsed content accessible when its control is hidden, and preserve stored content and existing defaults.
Add personal and admin date-only formats across calendars and exports. Extend the existing smaller font presets with compact checklist and settings spacing. Cover persistence, permissions, layout and date behavior with unit and browser tests.
Thanks to xet7 !
Use the Markdown textarea for every editor. Remove the retired environment and Snap options from server settings, all platform launchers, build scripts and current documentation. Keep released and archived changelog entries intact.
Keep notification HTML escaping independent of editor configuration, preserve attachment metadata and mention behavior, and cover Markdown and emoji round trips in browser tests. Also import the translator used by attachment error handlers.
Thanks to xet7 !
Repair relative ordering and destination dialog lifecycles, retain failed operations, and make checklist, rule and attachment controls keyboard accessible. Improve scaled layouts and reuse canonical translated labels.
Add source-execution and Chromium/Firefox regression coverage, including awaiting background persistence before reload. Record implementation decisions and validation limits.
Thanks to xet7 !
Initialize autocomplete once per editor, place its styled menu above card windows, and fall back to the textarea when Summernote is unavailable. Verify pointer and keyboard selection for password and LDAP account fixtures.
Thanks to bbyszio and xet7 !
Fixes#6704.
Place the global date format checkbox and selector between Board member
list and Wait Spinner in Visibility settings. While enabled, use the
selected format for members and guests, call the card section Date and
hide its personal format selector. Preserve personal preferences so they
return when the override is disabled.
Apply the same policy to date displays, filter parsing and browser export
requests. Validate supported formats and retain admin-only settings writes.
Add positive, negative and browser regression coverage and document the
setting. Translate the new label without changing existing translations.
Lower-confidence new translations include Acehnese, Aymara, Cherokee,
Inuktitut, Kashmiri, Nahuatl, Veps, Volapuk and Wolaytta; native-speaker
review would improve these labels.
Thanks to Mathia2 and xet7 !
Fixes#6703,
Stop handled Enter events before the enclosing checklist submits them again. Await the insert, scope the textarea to its form, and reject duplicate submits while the write is pending. Keep failed edits available for retry.
Thanks to rmb82 and xet7 !
Fixes#6700,
Keep muted board assignments silent while honoring explicit list and card subscriptions. Resolve notification controls against their owning settings scope and show the selected option.
Thanks to Nissulya and xet7 !
Fixes#6658,
Replace Spanish es with native Basque da and omit the separate linking verb in Basque trigger templates whose action labels already contain the temporal verb clause. Preserve other locales and language switching. Add positive, negative, helper-runtime and browser regression coverage. Node and Jade checks pass; browser execution and full Basque fluency review remain open.
Thanks to xet7.
Require source write access for authoritative and DDP link creation, including pointer changes. Treat explicit non-writing source roles as a ceiling on delegated writes, covering legacy self-created links. Match UI permissions and remove the link action from the non-writer menu. Record denied writes in bounded Problems summaries.
Actual shared permission decisions for every role, creation/deny inventory and existing link and role suites pass. Browser regression syntax-check passes; live execution pending.
Thanks to Wenhao Wu, Southeast University and xet7 !
Render chart headings and report table headers and cells through the shared security-aware viewer. Use rendered text and emoji for canvas labels and dataset titles, capturing them before afterFlush so policy changes remain reactive. Extend title adapter, chart context and cumulative-flow browser policy coverage.
Thanks to xet7 !
Render remaining board titles through the shared Markdown and emoji viewer, including DHTMLX task names. Escape rendered text in Frappe SVG labels and use formatted titles in chart popups. Observe settings when charts refresh. Import routing and date dependencies explicitly in the assignee view to prevent ReferenceErrors. Add runtime helper, compiler and browser regression coverage.
Thanks to xet7 !
Match all browser preferences using existing locale identifiers and explicit standard-to-legacy aliases, including Veps, Venetian, Latin American Spanish and Uzbek scripts. Prefer supported saved profile choices and fall back to English. Respond to browser languagechange without writing a profile choice. Checks cover all 245 locales and alias/error cases. Browser regression added and syntax-checked; execution pending.
Thanks to xet7 !
Meteor merges top-level profile objects by publication precedence. Publish the private boardViewPreference field reactively so a narrow or empty profile cannot hide it during impersonation. Preserve pending choices until the private preference catches up, and route the remaining calendar helper through the same resolver. Cover preference precedence, updates, unsets, deletion, observer cleanup and the real impersonation browser path.
Thanks to gleneindre and xet7 !
Fixes#6691,
Resolve missing or invalid profile board views through the browser preference and Swimlanes default without reloading. Publish the authenticated user board-view preference privately, including after impersonation. Add fallback, selector-scope, publication-isolation and browser regressions.
Thanks to gleneindre and xet7 !
Fixes#6691,
Apply the selected calendar to shared date displays, calendar month views and date inputs. Provide mouse and keyboard date navigation and hour/minute selection while preserving native date storage. Document the supported offline calendars and add display, picker and browser regressions.
Thanks to mimZD and xet7 !
A new "Board View" entry at the top of Board Settings, above Swimlane, opens
a table like Card Settings: one row per entry of the Board View menu, in the
menu's order, with the columns Default on Public Board, Show on Public Board,
Default on Private Board, Show on Private Board and Description. The Default
columns are radio groups drawn as checkboxes (one default per side, and
setting one also shows it; the default's Show box cannot be un-ticked), and
the two public columns are not rendered when Admin Panel / Settings /
Visibility hides public boards.
The Board View menu lists only the views ticked for the board's current
visibility, and Utils.boardView() resolves the stored choice through the
board, falling back to that side's default, so nobody is left on a hidden
view. Stored per board as boardViewSettings, defaultPublicBoardView and
defaultPrivateBoardView; the decisions are the pure module
models/lib/boardViewSettings.js, applied by the Board setters
setBoardViewShown and setDefaultBoardView, guarded by the existing
board-admin allow rule. The schema fields, setters and popup template were
swept into 148f8a2aa by the Card Settings commit made from the same checkout;
this commit carries the rest.
Four new column-header keys, translated in every locale (low confidence for
the languages without a WeKan translator: Cherokee, Inuktitut, Klingon,
Volapük, Wolaytta, Bambara, Ewe, Fulah, Nahuatl and the other small ones).
docs/Features/Board/Board-View-Settings.md describes the design; tests/
boardViewSettings.test.cjs pins it, and boardSettingsSwimlaneListCard's
hr/gate guards now anchor on the group's new first entry.
Thanks to xet7 !
Reported directly: both Gantt board views showed English month names in
every language. Neither library reads WeKan's translations: Frappe Gantt
takes a `language` tag it hands to Intl.DateTimeFormat, and DHTMLX Gantt
takes a locale object and only bundles a fixed set (~40) of them,
defaulting to English.
New client/lib/ganttLocale.js (pure, unit-tested) feeds both:
- intlLocaleFor() maps WeKan's language tag to one Intl accepts - the
underscore tags ('ru_RU', 'ca_ES', 'zh_SG', ...) make Intl throw
RangeError, and an unknown tag falls back to its primary subtag, then
English, so nothing can throw inside a library's render loop. Every tag
under imports/i18n/data resolves (pinned by the test).
- intlDateNames() builds month_full/month_short/day_full/day_short from
Intl for any language, in dhtmlx's shape (weeks starting Sunday).
- dhtmlxLocaleFor() uses the locale dhtmlx bundles for the language when
there is one (it also translates dhtmlx's own labels), and otherwise
keeps the English labels with the Intl date names.
frappeGantt.js passes `language`; dhtmlxGantt.js calls
gantt.i18n.setLocale() on each reactive run before init/parse so a
language change takes effect. The Frappe view-mode dropdown's own
"Day/Week/Month/Year" labels are the library's and stay as they are.
Thanks to xet7 !
Reported directly: clicking a newly created label did not enlarge it or
apply it to the card. The browser console showed "Exception in
Template.cardFlowtime canControlFlow" and the same for
Template.cardPomodoro canControlPomodoro - both call Utils.canModifyCard()
but never import Utils (a plain ES export from client/lib/utils.js, not a
Meteor global), so the helper threw a ReferenceError the moment either
template's reactive computation ran, which broke the surrounding card
render along with it.
Searching the whole tree for the same shape (a client file calling
Utils.<method>() or ReactiveCache.<method>() without importing it) found
two more real, independent instances:
- client/components/settings/notificationSettingsPopup.js's
currentBoard() called Utils.getCurrentBoardId() unimported.
- client/components/main/bookmarks.js's four helpers/events called
ReactiveCache.getCurrentUser() unimported - the header bookmarks/Starred
feature.
- client/lib/tests/Utils.tests.js did `import '../utils';` (a bare
side-effect import) and then used the bare `Utils` global throughout -
never actually reached by the fast Node suite (a mocha/browser test),
but would have thrown the same way if run.
None of this is caught by rspack's build (it does not type-check or
cross-check imports app-wide) or by tests/run-node-suites.cjs (nothing
exercises these code paths with the name deliberately left undefined) -
only the browser, live, the moment that render actually runs.
tests/clientSingletonImports.test.cjs sweeps every client/**/*.js file for
a call to Utils.<method>( or ReactiveCache.<method>( with no matching
import, so this shape cannot reappear anywhere else undetected.
Verified against a real Meteor boot (`meteor run`) in-sandbox.
Thanks to xet7 !
Board View / Timeline (Step 1 of the maintainer's spec): a new menu entry
right after Time, wired end to end like every other view - the
boardChangeViewPopup entry, Utils.setBoardView('board-view-timeline'), an
isViewTimeline() helper and boardBody.jade branch, the two client/lib/utils.js
whitelist arrays, the profile.boardView schema allowedValues, a tooltip-name-
map entry, and template/stylesheet registration in client/features/boards.js.
The view renders a horizontal row of clickable markers built from the
board's distinct activity timestamps (sampled to 50 when there are more),
plus a "Now" marker for the live board. Clicking a marker calls the already-
built, already-tested models/lib/boardTimeline.js's pure
reconstructBoardStateAt(cards, activities, timestamp) - this file does not
reimplement history reconstruction - and renders the result read-only,
grouped by reconstructed list: title, description snippet, labels, members,
due date and an archived badge.
Step 2: each card in a historical view gets a "Restore to this state"
button. It applies the RECONSTRUCTED field values to the card's CURRENT
document by calling only the card's own existing setters one at a time
(setTitle, setDescription, move, addLabel/removeLabel, assignMember/
unassignMember, setDue) - never a bulk update that bypasses them - so each
write is logged as its own Activity by the existing hooks and the restore
itself becomes new, fully visible history. Nothing is deleted. A
confirmation popup (Popup.afterConfirm, the same pattern used elsewhere)
gates the action since it changes the board's current state.
Deliberately deferred, per the task's own scope discipline: "selective
per-member change removal within a time period" is a separate, higher-risk
mutation feature left for a dedicated future pass.
tests/boardViewMenu.test.cjs's VIEWS table gets the new entry (icon
fa-history, template timelineView, helper isViewTimeline) and its HR_AFTER
separator moves from Time to Timeline. tests/boardTimelineRestore.test.cjs
pins that the restore path only calls the card's own setters (with a
negative test scanning for a direct Cards.update/updateAsync bypass), that
the restore button only renders while viewing a historical timestamp, and
that a confirmation step is required before restoring.
Added "Timeline" and its five other UI strings to en.i18n.json and to every
other locale file with real per-language translations (not English
placeholders); verified with fill-translations.mjs --missing.
Thanks to xet7 !
#4540 (963b01ff5) already lets a board be opened pre-filtered from
`?assignee=johndoe`/`?member=janedoe`/`?label=urgent`, read once on board
load. #319 additionally asked for the other direction: applying a filter
from the sidebar should update the URL too, so a manually filtered view is
itself bookmarkable/shareable without hand-typing the query string.
Adds `client/lib/filterQueryParams.js`'s `resolveIdsToUsernames`,
`resolveIdsToLabelNames` and `buildBoardFilterQueryParams` - the exact
inverse of the existing parser, reusing the same `assignee`/`member`/`label`
token vocabulary - and a reactive `list()` getter on `SetFilter`
(`client/lib/filter.js`) so its current selection can be read outside the
sidebar template. `boardBody.js`'s new `syncFilterQueryParams`, run from a
separate `Tracker.autorun`, resolves `Filter.assignees`/`members`/`labelIds`
back to names and writes them via `FlowRouter.setQueryParams` wrapped in
`FlowRouter.withReplaceState`, so toggling a filter replaces the current
history entry instead of piling up a new one per click.
Covered by tests/filterQueryParams319.test.cjs: the id->name resolvers, the
query-param builder (including empty selections clearing their param and
unknown ids being dropped), a full round trip through #4540's own
`parseBoardFilterQueryParams` proving both directions agree, and source
checks pinning how boardBody.js wires it up.
Thanks to netei and xet7 !
Closes#319,
filters active when switching boards.
Filter.userId (client/lib/filter.js) is a new SetFilter keyed the same way
models/cards.js already names the card-author field, reusing the exact
SetFilter/Filter API the existing member/assignee filters use - no new
filtering engine. A "Filter by creator" sidebar section lists the board's
active members the same way Member/Assignee already do.
config/router.js's board route used to call Filter.reset() (wiping every
filter) whenever the target board differed from the current one. It now
calls the new Filter.resetBoardScoped(), which only clears filters whose
values are scoped to the board being left (labels, custom fields,
dependency types, the advanced/list text filters) and leaves
member/assignee/creator/due-date/title filters in place, since user ids and
dates mean the same thing on every board. Every other Filter.reset() call
site (the sidebar's own Clear button, All Boards, Archive, Public, ...) is
unchanged.
Thanks to lukasz-krawczyk and jarohen-oc and xet7 !
Fixes#3681,
Fixes#1751.
The due-date badge (card detail and minicard) showed only the formatted
date - no relative countdown, contrary to what the badge's own title
text suggested. dueCountdown() (client/lib/dueDateColor.js) is a pure
day-count helper, sharing its "now" comparison with the existing
dueDateClass() so the countdown and the badge's colour always agree;
cardDate.js's new dueCountdownText() turns it into translated text and
both cardDueDate and minicardDueDate now show it in showDate() (visible
text) and showTitle() (hover), e.g. "Jun 15 (3 days left)" / "Jun 15 (2
days overdue)" / "Jun 15 (Due today)". A completed due date (one with an
end date set) keeps just the plain date - there is nothing left to count
down. Received/start/end date badges are untouched; they use their own
showDate()/showTitle() overrides on the same shared dateBadgeBody markup.
Adds due-today/due-days-left/due-days-overdue to en.i18n.json (right
after card-due-on) and translates them into all 245 other locale files,
keeping the %s day-count placeholder intact everywhere.
Thanks to javen9881 and xet7 !
Closes#2424,
Planyway-style: shows due/start/end/received dates for cards across
every board the current user belongs to, not just the currently open
board, right below Calendar in the Board View menu.
Reuses the single-board Calendar view's FullCalendar rendering as-is
and #4223 Bigboard's all-boards membership query/subscription pattern,
prefixing each event with its board's title so entries stay
distinguishable. Cross-board drag-to-reschedule is out of scope here;
the view is read-only and the single-board Calendar's own drag
handling is unaffected.
Thanks to justinr1234 and xet7 !
Closes#2469,
#2886: clicking a label filter chip only ever toggled between unfiltered
and filtering FOR that label. Filter.labelIds now has a companion
Filter.excludedLabelIds SetFilter (same API/shape), and a new
Filter.toggleLabelFilter(labelId) cycles a label through three states:
not in either set -> added to labelIds (include) -> moved to
excludedLabelIds (exclude) -> removed (back to unfiltered).
Filter._getMongoSelector() merges the exclusion into the existing
labelIds selector ({$in, $nin}) rather than a separate ignored key, so a
card carrying an excluded label is filtered out even when it also
matches an included label - exclusion wins over inclusion. An
exclude-only filter (no included label) is also handled: isActive() and
the filterSelector-push condition both check excludedLabelIds, and
reset() clears it too.
sidebarFilters.js's 'click .js-toggle-label-filter' handler now calls
Filter.toggleLabelFilter() for a real label chip, keeping the existing
plain two-state Filter.labelIds.toggle() only for the special "no label"
pseudo-entry (data-filter-id="__none__"), which is out of scope for this
three-state cycle. sidebarFilters.jade gives an excluded chip a distinct
"excluded" class (struck-through text via sidebar.css) plus a fa-ban icon
tooltipped with the new filter-label-excluded i18n key, alongside the
existing fa-check used for an included chip.
Scoped to labels only, matching the issue's exact wording - members, due
dates and the other filter types keep their existing two-state toggle in
this pass; the same three-state treatment could be added to them later if
wanted.
tests/labelFilterThreeState.test.cjs drives the real client/lib/filter.js
under plain `node` (via tests/helpers/meteorStubLoader.mjs, an ESM loader
hook stubbing only the Meteor packages/modules filter.js imports) rather
than reimplementing the logic, and pins: the exact three-click cycle in
order (unfiltered -> included -> excluded -> unfiltered), that the cycle
repeats and that two labels cycle independently, and the card-matching
predicate - an excluded-only card is filtered out, an excluded label
wins over an included one on the same card, and an exclude-only filter
(nothing included) still filters correctly.
Thanks to bennyandresen and xet7 !
Closes#2886,
Completes the per-board default / per-user override for minicard label
text: models/lib/labelTextVisibility.js is the pure resolution function
(user override > board setting > historical default) that
client/lib/minicardLabelText.js now calls instead of duplicating the same
three-way decision, and tests/labelTextVisibility.test.cjs pins all three
cases plus the migration-safety case (an existing board/user with nothing
stored still shows label text). server/models/boards.js's REST
cardSettings whitelist also gets showLabelText, matching every other
board-level card setting there.
A Worker's checkbox was gated behind the same canModifyCard/write check that
also gates editing and deleting a checklist item, so it never drew a
clickable box at all - the server's allow rule refused the write too. Give
checking/unchecking its own, narrower capability (like the existing
move/self-assign carve-out for cards, models/lib/workerCardWrite.js): a
Worker may $set isFinished and nothing else on a checklist item
(models/lib/workerChecklistItemToggle.js), enforced field by field in
server/permissions/checklistItems.js. The client mirrors it with
Utils.canCheckChecklistItem / the canCheckChecklistItem Blaze helper, so
client/components/cards/checklists.jade now draws the checkbox under that
helper while everything else on the row (title edit, drag handle, due-date
edit, delete) still requires the full write capability.
Thanks to mweiss237 and xet7 !
Fixes#3307,
Add "Bigboard" to the Board View menu, right after Dashboard, matching
the existing 19-entry pattern (menu row in boardHeader.jade, click
handler + boardViewName() entry in boardHeader.js, isViewBigboard()
helper + boardBody.jade branch, the two whitelist arrays in
client/lib/utils.js, and profile.boardView's allowedValues in
models/users.js).
Unlike the other views, Bigboard renders every board the current user
is a member of, not just the open one - the same idea as Kanboard's
BigBoard plugin. The new bigboardView template (bigboardView.jade/js)
queries the user's boards with the same membership selector the All
Boards page uses, subscribes each one's lists/swimlanes/cards through
the existing 'board' composite publication, and stacks each board as
its own section reusing the existing listsGroup/list/card templates -
so editing, dragging and opening a card behave exactly as on a normal
board page.
Rendering several boards' lists on one page at once exposed a bug the
single-board case never could: list drag-and-drop connects via a plain
'.js-swimlane, .js-lists' jQuery UI sortable selector, which would let
a list be dragged out of one board's section into another's now that
more than one board's lists share a page. Added a data-board-id
attribute to the swimlane/listsGroup root elements and a
connectWithSelector() helper (swimlanes.js) that scopes the connect
selector to the dragged list's own board id when one is present -
ordinary single-board views still have exactly one board id on the
page, so their behaviour is unchanged.
Thanks to Jieiku and xet7 !
Admin Panel -> Settings -> Visibility gets a new checkbox beside "Public
boards": "Only admins can create boards"
(tableVisibilityMode-boardCreationAdminOnly, off by default). It follows
the exact TableVisibilityModeSettings pattern its sibling
tableVisibilityMode-allowPrivateOnly already uses: a collection doc seeded
in server/models/collectionBootstrap.js, a jade checkbox and reactive
helper in settingBody.jade/js, and a write in the section's own Save
handler.
The real enforcement is server-side: createBoardWithInitialSwimlanes
(server/models/boards.js) now rejects the call with a not-authorized error
when the setting is on and the caller is not isAdmin === true, before the
board is ever inserted. The client mirrors this only as a convenience - a
new client/lib/boardCreationAllowed.js helper hides the top-bar "+" (header
header.js/.jade) and the All Boards "Add board" tile (boardsList.js) for a
restricted non-admin, but nothing depends on that for security.
A full per-user allow/deny override was left out of this pass: it would
need is own schema field, a People/Admin Panel UI to flip it per account,
and server enforcement layered under the global toggle, which is a larger
change than this issue's "let an admin forbid board creation instance-wide"
core request. The global toggle covers that request cleanly on its own.
Added imports/i18n/data/en.i18n.json's board-creation-admin-only string and
a direct translation (no external translation API) in all other locale
files, in en.i18n.json's key order. tests/boardCreationAdminOnly.test.cjs
pins the default-off setting, the checkbox/handler wiring, the server-side
admin check (and that it runs before the insert), the shared client helper,
the i18n key placement, and - as a negative test - that no OTHER
Boards.insertAsync call site was silently added outside the two already
known and deliberately ungated ones (the per-user Templates container and
createBoardFromCard).
Thanks to belf88 and xet7 !
Closes#4475,
Group cards by assignee, clustered under each assignee's name as a
heading, for a read-only overview well suited to a team stand-up. A
card with several assignees appears under each; a card with none falls
into "No assignee". Reuses the same grouping/translation fold the
Dashboard and Time views already use (models/lib/chartCalculations.js's
NO_ASSIGNEE_GROUP/translateGroupLabel), now generalized into
computeCardsByAssigneeGroup, which returns the grouped cards themselves
rather than a count/hours total. Wired end to end like every other
board view: a "Group by Assignee" Board View menu entry, an
isViewGroupByAssignee() helper/boardBody.jade branch, the
client/lib/utils.js whitelist, the profile.boardView schema, and a
tooltip-name-map entry. Each card row is a simple title + due date +
overtime marker, deliberately not a minicard re-render, and clicking a
card navigates to it like any other view - no drag-and-drop, no export.
Thanks to xet7 !
Closes#4688,
?assignee=johndoe, ?member=janedoe and ?label=urgent now pre-filter a board
on load, reusing the existing Filter sidebar object/API rather than a new
filtering engine - useful for embedding a pre-filtered board view in another
tool (e.g. an iframe). Query params are parsed once, when the board
subscription becomes ready (client/components/boards/boardBody.js), and
resolved to member/assignee ids by username and to label ids by name via
client/lib/filterQueryParams.js, a pure module covered by
tests/filterQueryParams4540.test.cjs. This only reads params on load; it does
not sync the URL back as filters change.
Thanks to thrademaker and xet7 !
Closes#4540,
Clicking a comment's or an activity's timestamp now links to a
shareable permalink - the card's own URL plus a #comment-<id> or
#activity-<id> fragment. Visiting that link loads the card and then
scrolls to and briefly highlights the matching comment or activity,
reusing the existing swimlane/list reveal-on-load mechanism
(models/lib/revealBoardItem.js, client/lib/revealBoardItem.js),
extended here to read the two new kinds from the URL hash instead of
a route param. A small icon next to the timestamp copies the same
URL to the clipboard, reusing the existing copyTextToClipboard/
showCopied pattern already used for card/list/swimlane links.
Thanks to xet7 !
Closes#4757,
A short, synthesized Web Audio tone (OscillatorNode + GainNode envelope)
plays when a checklist item transitions from unchecked to checked, gated on
a new per-user Member Settings preference ('profile.checklistDingSound'),
off by default. The sound is synthesized rather than a bundled audio file,
since a previously proposed bundled sound was not copyfree/MIT/BSD-licensed
and was rejected for that reason.
Thanks to C0rn3j and xet7 !
Closes#5427,
A list with no swimlaneId of its own (shared/pre-migration) renders once
per swimlane in Swimlanes view - the same list document, one row per
swimlane (client/components/swimlanes/swimlanes.js's `lists()` helper
already documents this: "shared / pre-migration lists (swimlaneId empty or
null)" are returned for every swimlane). Collapsing/expanding it was a
single Session/profile key keyed only by list._id, so collapsing the list
in swimlane 1's row also collapsed swimlane 2's row of the very same list.
Utils.getListCollapseState/setListCollapseState (client/lib/utils.js) now
take an optional swimlaneId and fold it into the storage key
(`${list._id}:${swimlaneId}`) used for both the Session cache and the
persisted state (the setListCollapsedState Meteor method / the anonymous
public-board cookie fallback) - a bare list._id key, used outside Swimlanes
view or when swimlaneId is absent, is unchanged, so existing stored state
still applies exactly as before. Every read/write site resolves it via the
same containerSwimlaneId pattern #6660 already established for scoping a
board-wide list's CARDS per swimlane (client/components/lists/
listHeader.js, listBody.js): walking up parent Blaze data contexts to find
the enclosing swimlane, now extracted into a shared resolveContainerSwimlaneId
function and reused by list.js's own collapsed() helper and the resize-
handle visibility logic (the latter via a View-walking variant, since it
runs from async/onCreated code with no active Blaze render for
Template.parentData() to read from).
Archive is unaffected by this: Lists.archive()/restore() already scope to
`this._id`, and a board-wide list archived from one swimlane correctly
disappears from every swimlane's row of it - because it IS the one shared
list document, not a different one.
Thanks to xet7 !
The Labels popup (client/lib/popup.js's global Popup singleton) was never
closed when a card's details view was closed or swapped for another card -
Blaze just destroys the cardDetails template instance, and nothing called
Popup.close()/back() in response. So the popup stayed visible after leaving
card A, and opening Labels again on card B pushed a new stack entry on top
of the stale one instead of replacing it, leaving the old entry (still bound
to card A's data) rendered alongside the new one and able to keep toggling
labels on the wrong card.
Popup.open() now resets its stack when a fresh popup (not a sub-popup opened
from within the popup that is already showing) is opened while a previous
popup is still open. Template.cardDetails remembers which card it was
opened for and, on destroy, closes Popup if it is still showing that same
card's data at the base of its stack - so closing or switching a card
dismisses its own popup without touching an unrelated one.
Thanks to rmb82 and xet7 !
Fixes#6686,
The title used to render after the dates/cover/upload-progress block. It
now renders first, right after the drag handle and details-menu button, so
it stays visible regardless of collapse state.
A caret at the minicard's top-left corner - the same caret-down/caret-right
convention already used for list, swimlane and per-checklist folding, with
the same accessibility attributes (role="button", tabindex, aria-expanded)
as the per-checklist caret on the minicard itself - collapses everything
except the caret and title: dates, cover, upload progress, labels, custom
fields, assignees/members, checklists, badges, description, list name and
parent-task prefix/subtext. The details-menu button and the optional drag
handle render before the caret/collapse guard, so they stay reachable
either way.
State persists the same way list collapse already does:
Utils.getCardCollapseState/setCardCollapseState (client/lib/utils.js) check
a Session cache first, then profile.collapsedCards on the user document
(models/users.js, server method in server/models/users.js) - deliberately
with no anonymous/cookie fallback, since a public board can have far more
cards than lists and a per-card cookie entry per anonymous visitor would
grow without bound; an anonymous visitor's fold still works for the
session, it just does not survive a reload.
Thanks to xet7 !
Frappe Gantt was embedded below WeKan's own Gantt view on the same page.
It is now its own separate Board View menu entry and page, matching how
every other view (Swimlanes, List, Calendar, Statistics, ...) works: pick
it from the Board View menu, see only that view.
Adds a third Gantt option the same way: DHTMLX Gantt Community Edition,
genuinely MIT-licensed as of v10 (verified against the LICENSE.md text
inside the published package, not just the npm license field - the
project's own issue #2870 rejected an earlier DHTMLX Gantt proposal in
2020 for being GPL, so that distinction matters here). Zero runtime
dependencies, lazy-loaded the same way as Frappe Gantt. Unlike Frappe
Gantt's CSS, dhtmlx-gantt's package.json has no "exports" map at all, so
its CSS resolves through plain subpath resolution with no vendoring
needed. It is a page-wide singleton (`gantt`, not a class instantiated per
container), so it is torn down with destructor() on every re-render and
template destroy rather than merely cleared.
Both alternatives draw the same start/due/end task set as WeKan's own
Gantt view and export through the existing 'gantt' chart export route.
A separator now also sits between Statistics and the Gantt group in the
Board View menu, matching the existing grouping convention.
Thanks to xet7 !