-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oracle tools #161
Oracle tools #161
Conversation
0b05658
to
adc2af2
Compare
dc371da
to
9464164
Compare
I've created package.json with exports in common folder. I will add others files to this folder, but now I want to know if can I solve the copypaste problem this way? |
e95b698
to
85298c9
Compare
import { AbstractWidgetService } from "shared-code/abstractWidget"; | ||
import { BASE_URL_BACKEND, ADMIN_ACTIONS_WS_URL } from "../config"; | ||
|
||
export class AbstractWidgetImpl extends AbstractWidgetService { | ||
constructor(apiPath, errorHandler, listenWS) { | ||
super(BASE_URL_BACKEND, ADMIN_ACTIONS_WS_URL, apiPath, errorHandler, listenWS); | ||
|
||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now admin only has the implementation and I hope I didn't break anything
a7449f1
to
80fd1e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good for begin
Sometimes we share more code from admin to common, but not today
* init sniper locator controller * fix * fix type * delete dependency * change name * fix bugs * fix auth problem * fix eslint * added default username and password * mini refactored * fix mustExist flag + deleted useless get requests * fixed linter * create shared code * fix locator in overlay * rename to oracle-tools * fix package name * move abstractWidget.js to common folder * make abstractWidgetImpl for admin * added LOCATOR_MAGICAL_CONSTANT * fixed bugs + move BasicAuthKey to object * rename all parts of code from sniper to oracle --------- Co-authored-by: Mihail Kornilovich <[email protected]>
I will add Calibrator as a frontend compoent.
Locator is now separted from the admin frontend. And I want to know, is it a good idea? Or I need to get it back?