Extension JS Tweaks


Extension Basics

Title
JS Tweaks
Name
ckanext-js-tweaks
Type
Public extension
Description
Collection of JavaScript scripts, macros and helpers to make daily routine easier
CKAN versions

~2.9, ~2.10, ~2.11

Show details
Download-Url (zip)
Download-Url commit date
2025-01-22
Url to repo
Category
Specialized Tools


Background Infos

Description (long)
Show details

The js-tweaks extension provides a bunch of JavaScript scripts, macros and helpers designed to improve UI experience and simplify daily development routines in CKAN. It includes features for adding tooltips to elements (basic tooltips via data-tooltip attribute or Bootstrap tooltips with data-toggle, data-placement, and title attributes), and various other JavaScript enhancements for CKAN interfaces. Requires ckanext-scheming and typing-extensions as dependencies.

Version
0.0.31
Version release date
2025-01-22
Contact name
DataShades
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Requirements: - ckanext-scheming - typing-extensions

Installation: 1. Activate CKAN virtualenv 2. Clone and install: git clone https://github.com/DataShades/ckanext-js-tweaks.git cd ckanext-js-tweaks pip install -e . pip install -r requirements.txt

Add to ckan.plugins: js-tweaks

Configuration: None at present - no config settings required

Features:

  1. Basic tooltip: Add data-tooltip=”text” attribute to any element:

  2. Bootstrap tooltips: Use Bootstrap tooltip attributes:

Additional scripts, macros, and helpers available for various UI enhancements.

Development: git clone https://github.com/DataShades/ckanext-js-tweaks.git cd ckanext-js-tweaks python setup.py develop pip install -r dev-requirements.txt

Testing: pytest –ckan-ini=test.ini

Plugins to configure (ckan.ini)
js_tweaks
CKAN Settings (ckan.ini)
(not set)
DB migration to be executed
(not set)
<< back to Extensions