This commit is contained in:
Simon Gardling 2022-05-11 18:48:55 -04:00
parent 8d4a315a96
commit 813c545e06
3 changed files with 14 additions and 17 deletions

12
Cargo.lock generated
View File

@ -669,7 +669,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
[[package]] [[package]]
name = "eframe" name = "eframe"
version = "0.18.0" version = "0.18.0"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"egui", "egui",
@ -689,7 +689,7 @@ dependencies = [
[[package]] [[package]]
name = "egui" name = "egui"
version = "0.18.1" version = "0.18.1"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [ dependencies = [
"ahash", "ahash",
"epaint", "epaint",
@ -700,7 +700,7 @@ dependencies = [
[[package]] [[package]]
name = "egui-winit" name = "egui-winit"
version = "0.18.0" version = "0.18.0"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [ dependencies = [
"arboard", "arboard",
"egui", "egui",
@ -713,7 +713,7 @@ dependencies = [
[[package]] [[package]]
name = "egui_glow" name = "egui_glow"
version = "0.18.1" version = "0.18.1"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"egui", "egui",
@ -733,7 +733,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
[[package]] [[package]]
name = "emath" name = "emath"
version = "0.18.0" version = "0.18.0"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"serde", "serde",
@ -742,7 +742,7 @@ dependencies = [
[[package]] [[package]]
name = "epaint" name = "epaint"
version = "0.18.1" version = "0.18.1"
source = "git+https://github.com/Titaniumtown/egui.git#ee8c475bf7c78bef05a5bd0b2c85d4430bc82936" source = "git+https://github.com/Titaniumtown/egui.git#2bfdd60400da7f1f7139e58858bc4910d166f1a0"
dependencies = [ dependencies = [
"ab_glyph", "ab_glyph",
"ahash", "ahash",

18
TODO.md
View File

@ -13,13 +13,11 @@
3. Allow constants in min/max integral input (like pi or euler's number) 3. Allow constants in min/max integral input (like pi or euler's number)
4. Sliding values for functions (like a user-interactable slider that adjusts a variable in the function, like desmos) 4. Sliding values for functions (like a user-interactable slider that adjusts a variable in the function, like desmos)
5. Fix integral display 5. Fix integral display
6. Better handling of panics and errors to display to the user 6. Turn Dynamic Iterator functions into traits
7. Turn Dynamic Iterator functions into traits 7. Better handling of roots and extrema finding
8. Better handling of roots and extrema finding 8. Add closing animation for function entry
9. Add closing animation for function entry 9. Create actual icon(s) for PWA/favicon (using placeholder from eframe_template)
10. Create actual icon(s) for PWA/favicon (using placeholder from eframe_template) 10. Fix mobile text input
11. Fix mobile text input 11. Write custom plotter
12. Don't use json for text storage 12. Add Url hashes loading and setting
13. Write custom plotter 13. Store settings in LocalStorage/Cookies
14. Cache decompressed data in browser's [Local Storage](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Storage.html)
15. Add Url hashes loading and setting

View File

@ -289,7 +289,6 @@ pub fn storage_create(commit: &[u8], data: &[u8]) -> String {
assert_eq!(commit.len(), 8); assert_eq!(commit.len(), 8);
let mut new_data = commit.to_vec(); let mut new_data = commit.to_vec();
// new_data.push(20); // push 'space'
let mut data = data.to_vec(); let mut data = data.to_vec();
new_data.append(&mut data); new_data.append(&mut data);
base64::encode(new_data) base64::encode(new_data)