contacts-pane 3.0.2 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -1
- package/dist/contactsPane.js +6487 -763
- package/dist/contactsPane.js.map +1 -1
- package/dist/contactsPane.min.js +2 -0
- package/dist/contactsPane.min.js.map +1 -0
- package/dist/styles/contactsPane.css +602 -0
- package/dist/styles/contactsRDFFormsEnforced.css +513 -0
- package/dist/styles/groupMembership.css +115 -0
- package/dist/styles/individual.css +12 -0
- package/dist/styles/localUtils.css +49 -0
- package/dist/styles/mugshotGallery.css +17 -0
- package/dist/styles/toolsPane.css +43 -0
- package/dist/styles/utilities.css +69 -0
- package/dist/styles/webidControl.css +90 -0
- package/package.json +23 -17
- package/dist/autocompleteBar.d.ts +0 -3
- package/dist/autocompleteBar.d.ts.map +0 -1
- package/dist/autocompleteBar.js +0 -90
- package/dist/autocompleteBar.js.map +0 -1
- package/dist/autocompleteField.d.ts +0 -20
- package/dist/autocompleteField.d.ts.map +0 -1
- package/dist/autocompleteField.js +0 -165
- package/dist/autocompleteField.js.map +0 -1
- package/dist/autocompletePicker.d.ts +0 -15
- package/dist/autocompletePicker.d.ts.map +0 -1
- package/dist/autocompletePicker.js +0 -253
- package/dist/autocompletePicker.js.map +0 -1
- package/dist/contactLogic.js +0 -223
- package/dist/contactLogic.js.map +0 -1
- package/dist/groupMembershipControl.js +0 -107
- package/dist/groupMembershipControl.js.map +0 -1
- package/dist/individual.js +0 -115
- package/dist/individual.js.map +0 -1
- package/dist/mintNewAddressBook.js +0 -145
- package/dist/mintNewAddressBook.js.map +0 -1
- package/dist/mugshotGallery.js +0 -264
- package/dist/mugshotGallery.js.map +0 -1
- package/dist/publicData.d.ts +0 -82
- package/dist/publicData.d.ts.map +0 -1
- package/dist/publicData.js +0 -421
- package/dist/publicData.js.map +0 -1
- package/dist/toolsPane.js +0 -671
- package/dist/toolsPane.js.map +0 -1
- package/dist/webidControl.js +0 -320
- package/dist/webidControl.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,3 +1,55 @@
|
|
|
1
1
|
# contacts-pane
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
SolidOS pane that displays a personal contact and address books.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
## Contribute
|
|
8
|
+
|
|
9
|
+
### Tech stack
|
|
10
|
+
|
|
11
|
+
- JavaScript
|
|
12
|
+
- Jest
|
|
13
|
+
- Eslint
|
|
14
|
+
- SolidOS
|
|
15
|
+
|
|
16
|
+
### Tests
|
|
17
|
+
|
|
18
|
+
To run all tests:
|
|
19
|
+
```shell script
|
|
20
|
+
npm test
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
If you are a first time developer/user on Windows 10, the repository may give package issues regarding webpack or jest.
|
|
24
|
+
If this is the case, simply run "npm audit fix" and upgrade the repository. It should work fine.
|
|
25
|
+
|
|
26
|
+
#### Unit tests
|
|
27
|
+
|
|
28
|
+
Unit tests use `jest` and are placed in the `test` folder.
|
|
29
|
+
|
|
30
|
+
Accessibility is verified via `axe-core`/`jest-axe` – new tests extend the setup and will check rendered components for a11y violations.
|
|
31
|
+
|
|
32
|
+
### Dev Server
|
|
33
|
+
|
|
34
|
+
Start a webpack dev server:
|
|
35
|
+
|
|
36
|
+
```shell script
|
|
37
|
+
npm start
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Visit `http://localhost:8080/` to render the pane. Adjust `const webIdToShow` in `./dev/index.ts` to show a different profile.
|
|
41
|
+
|
|
42
|
+
### Build
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
npm run build
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Generative AI usage
|
|
49
|
+
The SolidOS team is using GitHub Copilot integrated in Visual Studio Code.
|
|
50
|
+
We have added comments in the code to make it explicit which parts are 100% written by AI.
|
|
51
|
+
Example:
|
|
52
|
+
* Some code was generated by the Raptor mini and Claude Opus 4.6 model in GitHub Copilot based on the following prompt:
|
|
53
|
+
* Regarding accessibility, how should I replace alert()/confirm() with accessible modal dialogs?
|
|
54
|
+
* Let us implement the modals in the localUtils.js.
|
|
55
|
+
* Add accessibility tests based on axe-core dependency.
|