teia-community / teia-ui-legacy Goto Github PK
View Code? Open in Web Editor NEWThis project forked from hicetnunc2000/hicetnunc
Legacy repository for teia-ui
Home Page: https://teia.art
This project forked from hicetnunc2000/hicetnunc
Legacy repository for teia-ui
Home Page: https://teia.art
here are the remaining references we will have to tackle at some point (non exhaustive):
VISIBLE ON THE FRONTEND
ONLY IN CODE
hicetnunc-ui
HicetnuncContext
+ HicetnuncContextProvider
In the same time I think it's good to think about where we make references to hicetnunc
For now we only reference the fork here:
https://github.com/IntegroLabs/hicetnunc/blob/0301cd503a3b0cf157704ad72b8cef8ee2c3fa7a/public/languages/en.json#L13
As discovered a few weeks ago a few big files were committed long time ago.
Just creating this issue to get a trace of what I've done:
# bare clone
git clone --mirror https://github.com/teia-community/teia-ui.git teia-to-clean
# remove files above 10mb and with `zip` extension.
# templates were shipped as zip, and a few IPFS zip files were committed:
bfg --strip-blobs-bigger-than 10M --delete-files "*.{zip}" .
Log result:
Cleaning
--------
Found 7829 commits
Cleaning commits: 100% (7829/7829)
Cleaning commits completed in 1,692 ms.
Updating 30 Refs
----------------
Ref Before After
----------------------------------------------------------------
refs/heads/develop | f2dd858d | bd05ca4b
refs/heads/feature/collections | 879d7c37 | ca6fe653
refs/heads/feature/footer_refactor | ea4abc7c | e31fe389
refs/heads/feature/god_help_me | 670d1da3 | 9838bd1c
refs/heads/feature/new_media | 4cc4b301 | 3894e970
refs/heads/feature/simplify_state_on_objkt | 838d9f46 | b5b8dca9
refs/heads/feature/thumbnail_preview | 641ef27f | 49a37bec
refs/heads/fix-menu-top-spacing | 539af6d3 | ced84ed8
refs/heads/graphql | b90d5557 | 71394caf
refs/heads/main | df69caf8 | ed3ec0fe
refs/heads/video_fix | 0605400c | 7c94bbcb
refs/pull/1/head | 546ee64b | 6f4b8e59
refs/pull/10/head | a48097dc | 58a0cf66
refs/pull/12/head | fc35dc47 | 5ff7a522
refs/pull/13/head | 6aa003c0 | 9b221f51
...
Updating references: 100% (30/30)
...Ref update completed in 87 ms.
Commit Tree-Dirt History
------------------------
Earliest Latest
| |
DmmDmmmDDDDDDmmDDDDDDDmmmmmmDmmmmmmmmmmmmmmmmmmmmmmmmmmmmDDD
D = dirty commits (file tree fixed)
m = modified commits (commit message or parents changed)
. = clean commits (no changes to file tree)
Before After
-------------------------------------------
First modified commit | 326af31a | 59697ad9
Last dirty commit | 959040a6 | 4150eb2e
Deleted files
-------------
Filename Git id
-------------------------------------------------------------------------------------------------------------------------------------------------
(Memóría e Sociedade) Pierre Bourdieu - O poder simbólico-Bertrand Brasil (1989).pdf | ab3bcc9a (14.7 MB)
.zip | 15cb0ecb (22 B )
1614190597789.zip | e69f4a57 (4.6 MB)
1614473217429.zip | e6eae775 (4.6 MB)
1614836343020.zip | e4273132 (4.9 MB)
1614882330937.zip | 8c75c090 (4.9 MB)
1615711014943.zip | f673eaf5 (4.5 MB)
1636259527044.zip | af53c65d (6.4 MB)
876bd999f867cbc4f26bed1d1d6c39e7.pdf | 94d40d92 (14.7 MB)
Archive.zip | 80a05a51 (1.9 KB)
QmWmxAMCNsFb24ByUkhfci9utQ3dxtgawhbDEYu2ufTTPg.mp4.crdownload | edf7330a (11.2 MB)
QmcsGnXM2BafkxhqxzDxuomBVAmmP1nZJ8VgutTRBRwcLj.wav | 850db32b (92.8 MB)
build.zip | 31d3345d (3.4 MB)
html-archive.zip | e4febaf1 (4.9 KB), 63ef3619 (4.9 KB), ...
html-p5js-template.zip | 503eb666 (719.4 KB), fdc1c431 (719.1 KB)
It redirects to /tz/ and doesn't show content.
people that look into the teia git will probably often only look at the teia UI repo
i think it would be finde to have the "wiki" section in the ui repo activated and a big link at the home page of that wiki pointing to our currently maintained wiki at teia-docs repo
Summary of change to the FAQ/About page:
On page
https://teia.art/about
and
https://teia.art/faq
, change all links which still point to the hicetnunc2000 wiki, e.g.:
https://github.com/hicetnunc2000/hicetnunc/wiki
to point to the teia wiki, such as:
People regularly have issues with a mint failing, and then losing the description they typed out. Two steps to fix this:
name
on mint form elements. Currently they display name=input-name-not-set
var form_els = document.querySelectorAll('input, textarea');
if (localStorage.getItem('mint_'+form_els[0].name) != null) {
for (var i = 0; i < form_els.length; i++) {
var el = form_els[i];
el.value = localStorage.getItem('mint_'+el.name);
}
}
function saveForm() {
for (var i = 0; i < form_els.length; i++) {
var el = form_els[i];
localStorage.setItem('mint_'+el.name, el.value);
}
}
setInterval(saveForm, 5000);
function clearForm(){
for (var i = 0; i < form_els.length; i++) {
var el = form_els[i];
localStorage.setItem('mint_'+el.name, '');
el.value = '';
}
}
markdown tokens are currently are not rendered correctly.
see https://teia.art/objkt/156470 for example
this could have something todo with an axios call currently being made directly in the render function of the MD component. something like useSWR
can help here.
So there is a few issues with the current setup and unless someone has a better alternative, @xat and I came to the conclusion that we should migrate the repository in order to solve those issues:
Opening PR's open them against hicetnunc2000 by default the is no way to overcome that.
A lot of the Github tools behave differently because of that: commit diff indicator on branches,
The best approach imo would be to archive this repo and redirect to the new one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.