Comments (7)
@MinhxNguyen7 #865 hasn't been merged in yet, nor has its successor #891
from antalmanac.
Can't reproduce the error, is there a video you could share of the behavior?
from antalmanac.
@KevinWu098 I can make a video, but try it jn incognito. I reproduced it on a different device as well, so it's not just me
from antalmanac.
@KevinWu098 I can make a video, but try it jn incognito. I reproduced it on a different device as well, so it's not just me
export function removeSampleClasses() {
AppStore.deleteCourses(sampleClassesSectionCodes, CURRENT_TERM);
sampleClassesSectionCodes = [];
}
@MinhxNguyen7 This is the offending bit of code; It triggers this.unsavedChanges = true;
You can reproduce for yourself by just slapping a console.log
on every function with this.unsavedChanges = true
and seeing which triggers on load.
deleteCourses(sectionCodes: string[], term: string) {
sectionCodes.forEach((sectionCode) => this.deleteCourse(sectionCode, term));
console.log('deleteCourses');
this.unsavedChanges = true;
this.emit('addedCoursesChange');
}
from antalmanac.
Since deleteCourses
is only used by the Tutorial... the quickest fix would just be to omit this.unsavedChanges = true;
, but I've got a hunch that it could potentially cause hassle in the future if not properly documented.
Thoughts?
from antalmanac.
So it was me lmao
I'll look at it when I get back to my computer
from antalmanac.
So it was me lmao
I'll look at it when I get back to my computer
from antalmanac.
Related Issues (20)
- Improve website performance HOT 1
- Tasks for unified documentation
- Implement SNS Proof of Concept
- Design Notification Achitecture HOT 1
- Google Calendar makes `.ics`-imported events public HOT 2
- One instance of Copy, Clear Buttons
- Underscore for Tab Doesn't Resize On Adjusting the Panes HOT 1
- Create an Error Page HOT 6
- Christmas Logo in mid-Spring HOT 2
- Migrate to RDS HOT 2
- AANTS Backend
- Dynamically Change Logo by Special Event or Timeframe
- RateMyProfessor hyperlink broken HOT 1
- Move Mobile Tabs to Bottom
- Screenshot button doesn't appear to work on mobile HOT 1
- Nodemailer Email Implementation HOT 1
- GPA column doesn't work in added courses pane HOT 3
- Alert users when saving an empty schedule
- RFC: Sort Import Order (Prettier) HOT 2
- ICS Download: Duplicate events for Custom Events
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antalmanac.