Skip to content

Commit

Permalink
fix(core): vertical area for drag and drop
Browse files Browse the repository at this point in the history
Co-authored-by: kanekotic <[email protected]>
  • Loading branch information
alvarolorentedev and kanekotic committed Aug 22, 2024
1 parent dacb1ab commit f9ccba6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ app.on('ready', () => {
observerManager.refershObservers();
});
});
console.log(app.getPath('userData'));
1 change: 1 addition & 0 deletions src/renderer/pages/Observers/helpers/dragdrop.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export const dragdrop = (setIsDrag: any, parseDataransfer: any) => {
return {
onDragEnter: (e: any) => {
console.log('enter');
e.preventDefault();
e.stopPropagation();
setIsDrag(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const githubRegex = /https:\/\/github.com\/(.+)\/(.+)\/actions\/workflows\/(.+)/
const ccTrayRegex = /cc.xml/;
const datadogRegex = /https:\/\/app.(.*datadog.*)\/monitors\/(.+)/;
const sentryRegex = /https:\/\/sentry.io\/organizations\/(.+)\/projects\/(.+)\//;
const azureDevOpsRegex = /https:\/\/sentry.io\/organizations\/(.+)\/projects\/(.+)\//;

export const observersfromLinkParser: strategy[] = [
{
Expand Down
1 change: 1 addition & 0 deletions src/renderer/pages/Observers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const Observers = () => {
onDragEnter={onDragEnter}
sx={{
minHeight: '100%',
height: '95vh',
}}
>
<ObserversComponent
Expand Down

0 comments on commit f9ccba6

Please sign in to comment.