Skip to content

Commit 4ef3434

Browse files
update docs to use sidebar; update browser ext icon
1 parent 28a7bda commit 4ef3434

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+923
-877
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This workflow copies table-sort.js from src to public and npm folders when shipping
2+
name: Copy table-sort.js
3+
4+
on:
5+
push:
6+
branches: [master]
7+
paths:
8+
- "src/table-sort.js"
9+
10+
jobs:
11+
copy-table-sort:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Copy table-sort.js to distribution folders
17+
run: |
18+
cp src/table-sort.js public/table-sort.js
19+
cp src/table-sort.js npm/table-sort.js
20+
cp src/table-sort.js browser-extensions/firefox/table-sort.js
21+
cp src/table-sort.js browser-extensions/chrome/table-sort.js
22+
23+
- name: Commit changes
24+
run: |
25+
git config --local user.email "[email protected]"
26+
git config --local user.name "GitHub Action"
27+
git add public/table-sort.js npm/table-sort.js browser-extensions/*/table-sort.js
28+
git diff --staged --quiet || git commit -m "Copy table-sort.js to distribution folders"
29+
git push

Contributors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Repository link: https://github.com/LeeWannacott/table-sort-js
1+
Repository link: https://github.com/kyle-wannacott/table-sort-js
22

33
I made table-sort-js for my own use case when I needed to sort a table.
44

@@ -14,7 +14,7 @@ You are welcome to open issues or make pull requests.
1414
This project is a react app which can be run by npm install and then npm start.
1515

1616
Pull requests can be made on the file table-sort-js/public/table-sort.js
17-
This file is published to https://leewannacott.github.io/table-sort-js/table-sort.js
17+
This file is published to https://kyle-wannacott.github.io/table-sort-js/table-sort.js
1818

1919
You can modify testTable.js in table-sort-js/src/testTable.js for the feature or
2020
bug request you are testing. You can go to http://localhost:3000/ if you have used npm start.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
77
![build status](https://img.shields.io/github/actions/workflow/status/kyle-wannacott/table-sort-js/jest.yml?branch=master)
88

9-
# ![table-sort-icon](table-sort-icon-med.png) ABLE-SORT-JS.
9+
# ![table-sort-icon](icons/table-sort-icon-48.png) TABLE-SORT-JS.
1010

1111
- Description: HTML table sorting library with sort type inference builtin and browser extension available. [#VanillaJS](http://vanilla-js.com/)
1212

-1.85 KB
Binary file not shown.

table-sort-icon.png renamed to browser-extensions/chrome/icons/table-sort-32.png

File renamed without changes.
4.38 KB
Loading

table-sort-icon-med.png renamed to browser-extensions/chrome/icons/table-sort-icon-48.png

File renamed without changes.

table-sort-icon-big.png renamed to browser-extensions/chrome/icons/table-sort-icon-64.png

File renamed without changes.

browser-extensions/chrome/manifest.json

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
{
22
"manifest_version": 3,
3-
"author": "Lee Wannacott",
3+
"author": "Kyle Wannacott",
44
"name": "table-sort-js",
5-
"version": "1.21.0",
6-
"description": "Makes tables sortable using table-sort-js: https://github.com/LeeWannacott/table-sort-js",
7-
"icons": { "48": "icons/t.png" },
5+
"version": "1.22.3",
6+
"description": "Make websites (html) tables sortables when clicking on table columns.",
7+
"icons": {
8+
"32": "icons/table-sort-32.png",
9+
"48": "icons/table-sort-icon-48.png",
10+
"64": "icons/table-sort-icon-64.png",
11+
"128": "icons/table-sort-icon-128.png"
12+
},
813
"browser_action": {
9-
"default_icon": "./icons/t.png",
14+
"default_icon": {
15+
"32": "icons/table-sort-32.png",
16+
"48": "icons/table-sort-icon-48.png",
17+
"64": "icons/table-sort-icon-64.png"
18+
},
1019
"default_title": "table-sort-js"
1120
},
1221
"content_scripts": [
7.17 KB
Binary file not shown.

0 commit comments

Comments
 (0)