Showing
entries for topic shared code.
Show everything
Choice Surface: each portfolio chooses how Stock on Hand ranks, filters and caps
Nov 18, 2026
changed
Nov 18, 2026
Stock on Hand now builds each portfolio's view from that portfolio's saved settings, and names them on the page with a link to edit them.
The ranking columns are now the region called Rankings: the sort ranking comes first, followed by whichever rankings the settings show. DGI can be shown for the first time. Qualifying can combine several ranking rules, and the sort can be a mean of rankings. The footnote describes the active settings. Settings that cannot be read fall back to the default for the affected part, with a notice, so the page always loads. Portfolios without saved settings, and the whole-workspace view, use a built-in default; the planned switch of that default to TGI is not yet turned on. Holdings, totals and cap arithmetic are unchanged.
Stock on Hand: a buy-next view of the portfolio
Nov 17, 2026
added
Nov 17, 2026
A new Stock on Hand page answers what to buy next. Securities are ordered by PDP, a composite of three ranks (price growth, dividend growth and payout); those ranked 30 or better qualify, and the page highlights the first qualifying security that still has room under every portfolio limit.
Holdings come from the ledger as recorded, and the page says the date the ledger runs through. PDP is the average of the three ranks, ranked again so that 1 is best; the name lists its ingredients and claims nothing more. Each row shows its ranks, price, dividend, share of the portfolio, sector share and dividend share, and how many shares could be bought before each limit is reached, with the purchase itself counted. Limits are advisory: a holding over a limit is marked, never suggested for sale. Higher-ranked securities that were passed over keep the reason on hover. Every column sorts, each group of columns can be hidden, and data warnings sit behind a checkbox. The page shows no cash and no dollar amounts to spend. The limit arithmetic is a separate, tested library.
Ranking inputs calculated from the site's own records
Nov 15, 2026
changed
Nov 15, 2026
Data entry for the rankings moved to its own page, first under Scores Workflow in the tool menu. The Scores Workflow page is the readiness board again, and its old data entry address forwards to the new page.
Groundwork for user accounts: verification and approval records, and site email
Nov 9, 2026
added
Nov 9, 2026
The website can send email from its own domain. One shared function handles every message the site will send, such as account confirmations and approval notices, and the domain now publishes the records mail providers use to confirm that mail really came from it.
Mail is sent by signing in to the site's own mail server rather than through the hosting default, so a failed send is reported back to the page instead of passing silently. Built on the PHPMailer library. Problems are logged for the site owner without revealing any sign-in details.
Dividend yield joins the ranking poles
Nov 8, 2026
changed
Nov 8, 2026
The trailing annual dividend calculation, the split-basis rule and coverage merging moved into one shared file, so the dividend growth and dividend yield pages read the same calculation instead of separate copies.
No rule changed. The shared calculation was checked against the original page code on 27,953 test dates with no differences, so every dividend growth figure is unchanged.
Distribution history and the dividend growth page
Nov 8, 2026
changed
Nov 8, 2026
The row of links that carries an asset between the scores pages is now shared, and gains Dividend Growth.
Event assertions can be created from the events page, and attaching them checks the fit
Nov 1, 2026
changed
Nov 1, 2026
New event assertions are written through one shared function, used by both the ledger's event page and the events page, so there is a single write path for new rows.
The function accepts only the assertion tables' own columns and joins an open transaction, so the ledger page still writes a new assertion and its ledger links together. A duplicate is reported with the existing row.
Stock splits are bridged from researched event records
Oct 23, 2026
added
Oct 23, 2026
A single shared split bridge now serves every value chart. It reads researched split records first and falls back to the older corporate actions table only for a split that has no record yet, and it says which source each bridge came from.
The bridge takes the split's legal effective date and time, read as Eastern Time, and finds the first trading session on the new basis from the security's own price history. It ends on the day each ledger row recorded the new shares, so two rows recorded on different days are each bridged correctly. The correction adds the recorded shares inside that window rather than multiplying the whole share count, so purchases inside the window are no longer scaled by mistake. It also works in the other direction, when the ledger records the shares before the price changes basis. A split record that cannot be used is reported, never quietly replaced by the older table. A fallback row near a split record is never used twice, and a disagreement between the two is reported. A spin-off value factor recorded as a split is refused. If the recorded shares do not match what the split implies, a warning is shown.
Change assertions can be opened, read and corrected
Oct 22, 2026
changed
Oct 22, 2026
The checks for event assertions now live in one shared place, used by both the page that creates assertions and the page that edits them, so the two can never disagree about what a valid assertion is.
The shared library also gained the ability to save edits to the three assertion tables, writing only the fields that changed. The checks gained one new warning: a quantity change with no lifecycle, since a stock split is recorded as a continuing security with the ratio. The create page behaves as before.
Identity pages on shared code and styles, and their history in the changelog
Oct 13, 2026
changed
Oct 13, 2026
The five identity pages now draw their shared parts from one library: the search bar, the entity and asset lines, the name and label-window lists, the name-join check, the edit comparison and the record update. Each page lost its own copy, so a fix to one of these parts now reaches every page at once.
Nothing a visitor sees changed. Each page refuses to load, and says why, if the library is missing or too old. An edit preview opened before this update is refused once as out of date and must be rebuilt. Name records keep their own audited save path and are not written by the library.
Ledger and asset-link pages keep your view when you switch between them
Oct 11, 2026
changed
Oct 11, 2026
Links between the ledger and the asset-link workbench now carry rows per page, the page number, the sort order and the advanced search filters both pages have, so switching pages lands on the same rows.
A sort column the other page does not have is left behind, and the page number is left behind with it, because the rows would be in a different order. Filters that exist on only one page stay on that page. Hovering a link says what it will carry. Links to the other ledger pages are unchanged.
Identity pages aligned to one layout
Oct 11, 2026
added
Oct 11, 2026
The shared identity library gained the reads, change detection and page-top rendering that the four record pages each carried privately. The pages have not been switched over to it yet.
The asset page
Oct 1, 2026
changed
Sep 5, 2026
Reconstructed from a work log
Editing an asset's notes now happens in place, without reloading the page, and the save uses the same shared code as the entity page, so both follow one set of rules.
The old bookmarkable address for opening the notes editor still works. The editor now needs JavaScript.
The shared identity library
Sep 5, 2026
added
Sep 5, 2026
Reconstructed from a work log
A shared identity library with one job: saving a single field edited in place on the entity and asset pages. Only the notes fields are open to it; every other column is closed until there is a decision to open it, and the reason for each is written beside the list.
The list of editable tables and columns is fixed in the library, so a page cannot widen it. The save normalises line endings, writes nothing when the value is unchanged, and stamps the record's last-updated time.
The Position Value page
Sep 21, 2026
changed
Aug 17, 2026
Reconstructed from file notes
The page adopted the shared ledger toolbar: the same search box, asset picker and cross-page links as the other four ledger pages, with the search grammar (including the rule that bare digits mean an asset id) owned by the shared code rather than copied here. The mode line now states both how the position was addressed and how much of it is counted.
Row selection deliberately keeps this page's own identity rule rather than the shared one, because this page multiplies shares by a price and a wider row set would be a different valuation, not a longer list. A stale version stamp was corrected.