- Support
.env
- Simplify time interval CQP covering whole days #379
- Track some events with Matomo: search, language switch
- Font is now a dependency, not checked-in files (and the font looks slightly different)
- New loading spinners in result tabs
- Undo override of Tailwind classname separator for Pug #376
- Extracted Karp backend usage into
app/scripts/karp.ts
stringifyFunc(key)
was renamed togetStringifier(key)
stringify(key, x)
was removed, usegetStringifier(key)(x)
instead- For
getStructValues()
ofstructService
, thesplit
option now takes a list of attribute names, not a bool - Search history is stored as parameters only, not full urls #118
- In the corpus selector, an empty folder would add 1 to the parent folder's corpus count
- Searching by pressing Enter in Simple search is broken #394
- Barcode (aka hitsPicture) sometimes missing from KWIC tab #395
- Error when loading with restricted corpora selected #398
- Related words lookup must use OR #401
- Add support for annotations of the type 'set' in attribute filters #116
- Parallel mode is consistently checked against the
parallel
config setting, and not the mode name - Search history fails to select corpus #405
- Search history fails to distinguish options with same label #406
- The "X of Y corpora selected" phrase is not properly translated #408
9.7.1 - 2024-09-18
- Read default settings before using them (for instance,
backendURLMaxLength
is used in calls to/corpus_info
etc)
9.7.0 - 2024-09-17
- TypeScript typings for:
- config/settings
- URL parameters
- CQP queries
- CorpusListing
$rootScope
- Auth module
- services (
backend
,compare-searches
,lexicons
,searches
,utils
)
- Map code from
korp-geo
has moved into this codebase #359
- Replaced Raphael library with Chart.js, used in the pie chart over corpus distribution in statistics
- Replaced jStorage library with native
localStorage
, and added TypeScript typings - In the
ParallelCorpusListing
class, the methodsgetLinked
andgetEnabledByLang
have new parameter signatures - Replaced custom
popper
directive withuib-popover
anduib-dropdown
(docs) - Removed the
mapper
template filter; changex | mapper:f
tof(x)
- Removed the global
c
alias forconsole
- Removed global
lang
, use$rootScope["lang"]
instead (outside Angular:getService("$rootScope")["lang"]
) - Removed global
loc_data
, use$rootScope["loc_data"]
instead (outside Angular:getService("$rootScope")["loc_data"]
) - Removed globals
CSV
andmoment
, import the libraries instead - Converted the "radioList" JQuery widget to a component
- Using Karp 7 backend instead of Karp 4 #388
- For the
utils.setupHash()
function, theconfig
argument is no longer an array. To sync multiple parameters, call it once for each. - Dopped support for old map usage (
sb-old-map="true"
)
- News were sometimes not shown immediately after fetch
- In the time interval component in Extended search:
- There was no word picture heading if lemgram
- Paging broken in word picture example search #383
- Incoherent style change to corpus heading when switching between KWIC and context view #389
- Context view broken in example search #386
- Can't navigate between tokens in KWIC using arrow keys #368
9.6.0 - 2024-05-27
- Frontpage with description, news, corpus updates and example search queries #341
- Configurable generated link in corpus info #355
- Loading spinner in the autocomplete for structural values (
structServiceAutocomplete
)
- Newsdesk moved from icon+popup in header to frontpage #348
- Switched to parsing news from YAML file, using new setting
news_url
instead ofnews_desk_url
(see docs/frontend_devel.md) #348 - The "medial part" option now includes first/last parts also for lemgram search #347
- Improved UI reactivity for Simple search
- Make the search button(s) more visible #308
- Use native checkboxes in corpus chooser, not images #362
- Replaced JQuery Flot library with Chart.js, used in corpus chooser time graph
- Added TypeScript definitions for Korp backend parameters and responses
- Wrapped
GraphProxy
,KwicProxy
,LemgramProxy
,StatsProxy
andTimeProxy
with factories; see @/util/Factory- Removed the
stats_rewrite
config option, as the change above eliminated the need for this
- Removed the
- Removed globals – import them instead (or their members):
authenticationProxy
settings
currentMode
currentModeParallel
CQP
model
CorpusListing
ParallelCorpusListing
statisticsService
regescape
unregescape
safeApply
- Removed the
warning
directive – use thekorp-warning
class directly instead. - Removed the unused
toBody
directive - Converted the
timeInterval
directive to a componentdatetimePicker
- Renamed localization functions (just like the template filters) and moved them to
@/i18n
:getLocaleString
toloc
getLocaleStringObject
tolocObj
translateAttribute
tolocAttribute
(also moved the optionallang
parameter last)
- Renamed lemgram/saldo functions:
lemgramToString
tolemgramToHtml
lemgramToPlainString
tolemgramToString
isLemgramId
toisLemgram
saldoToString
tosaldoToHtml
saldoToPlaceholderString
tosaldoToString
- Removed
window.util
and converted its members to exported functions:- lemgram/saldo functions
setDownloadLinks
httpConfAddMethod
,httpConfAddMethodAngular
,httpConfAddMethodFetch
collatorSort
- Revised number formatting:
- Removed
formatDecimalString
andprettyNumbers
- Added
formatRelativeHits
to format a number with exactly one decimal- All occurrences of relative hit counts now use this
- Added
hitCountHtml
to consistently format a relative+absolute tuple
- Removed
- Revised the
locationSearch
andsearchHash
util functions:- Deprecated global
locationSearch
in favor of using$location
directly - Removed global
searchHash
in favor of using$location
directly - Added
locationSearchGet
/locationSearchSet
to expose$location.search
to code outside Angular
- Deprecated global
- Removed map layer "Stamen Watercolor" #339
- Removed dependency
jquery.format
- Statistics subquery incorrect when using repetition and boundaries #354
- Correct order of numbers in trend diagram table (first relative, then absolute)
- Update number formatting in statistics table when switching language
- Disable Trend diagram and Map buttons while waiting for statistics search to finish #346
- Error when clicking trend diagram with multiple series #358
- Broken singleValue component #361
- Strip HTML from total hits in annotated KWIC dowload
- Fix dynamic translation for tabs, filters etc
- Modes in "More" menu sorted locale-awarely
- Allow dash in attribute name
- Restore UI message when search gives no hits
- The
corpus_info
request usesGET
when possible
9.5.3 - 2024-03-11
- Add content hash to bundle.js to fix caching #318
- Add relative hits to map view #52
- Allow static corpus config
- Do not say "Results: 0" while loading
- Switch from PEG.js to its successor Peggy
- Unnecessarily complex query when combining initial/medial/final part #235
- Disable "Show map" button if no location data is available #238
- Drop console error when loading page without
cqp
param
- Dependency
jquery-deparam
- Dependency
jReject
9.5.2 - 2024-02-21
- Basic visitor analytics with Matomo #149
- The "in order" option is inverted, so it is now "in free order" and unchecked by default (but still
in_order
in the URL query param and in the API) - The checkbox of said option no longer gets disabled in Extended mode
- Replaced
NODE_ENV
with our own variableENVIRONMENT
to properly allow the"staging"
value
- Automatic disabling of the "Show statistics" checkbox
9.5.1 - 2024-02-12
- Logos with taglines
- Improve UX for "in order" option #335
- Unnecessary scrollbars in the corpus selector info panel #333
- Bug with undefined
arguments
- On repetition error (all tokens repeat from 0), restore red outline for input
- Use
<match>
to constraint CQP subqueries (from statistics rows etc)
9.5.0 - 2023-01-22
- A GitHub action to check the build
- Add support for "not in order" in extended and advanced search #17
- The
stats_rewrite
setting for altering the statistics table
- Logo changes: New Korp, new Språkbanken Text, replaced Swe-CLARIN with University of Gothenburg, new Karp icon #329
- The search history selector has been moved down to the search tab bar
- Resolve folder name in corpus param #13
- Long URLs in sidebar are always presented as http:// links #330
- Enable newer ChromeDriver versions for testing #331
9.4.4 - 20231031
9.4.3 - 20230531
9.4.2 - 20230515
9.4.1 - 20230427
- Improvements for instances running the frontend without
run_config.json
- Improved error handling
9.4.0 - 20230404
- It is now possible to run the development server using HTTPS, see
README.md
. - Authentication was refactored to make it possible to switch implementations.
- A new kind of authentication was added - "federated" authentication using redirection to login and JWT tokens.
- The initializaiton of the app was refactored, most of the work was moved to
app/scripts/data_init.js
. - All dependencies (includeding development) was updated to the latest version. Notably, Webpack was upgraded to version 5.
- Huge refactor where the last remaining pieces of pug markup language was removed. Simultaneous conversion of old markup+controllers/directives Angular components.
- Babel was removed from the build process. We now rely on making sure not to use too new features by ourselves.
- Support for hiding labels in sidebar -
sidebar_hide_label
. - User manual available in English.
- Modes may use a
description
-field to show some information in the blank space under the search alternatives. - Escape backslashes when doing "regescaping".
- Generally lots of refactoring, mostly creating Angular.js components where possible.
- Most bug fixes was related to the refactoring breaking things
- Lots of bug fixes for the sidebar