Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Added Notion App (Written by Vivek Lahole) #37

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,783 changes: 1,730 additions & 53 deletions package-lock.json

Large diffs are not rendered by default.

20 changes: 9 additions & 11 deletions packages/apps/confluence/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Confluence
# 📝 Confluence Integration

Intergrate Ocular with Confluence.
Integrate Ocular with Confluence to enable fetching Confluence spaces and pages within Ocular.

## Features
## 🚀 Features

- Get Confluence spaces and pages into Ocular.
- Retrieve Confluence spaces and pages directly within Ocular.

## How to Install
## 🛠️ Installation Steps

1\. In `ocular/core-config.js` add the following at the end of the `apps` array:
1. Open `ocular/core-config.js` and add the following configuration at the end of the `apps` array:

```js
```javascript
const apps = [
// ...
// ...other configurations
{
resolve: `confluence`,
resolve: "confluence",
options: {
client_id: process.env.CONFLUENCE_CLIENT_ID,
client_secret: process.env.CONFLUENCE_CLIENT_SECRET,
Expand All @@ -23,5 +23,3 @@ const apps = [
},
];
```

---
19 changes: 8 additions & 11 deletions packages/apps/jira/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# Jira
## 🚀 Integrate Ocular with Jira

Intergrate Ocular with Jira.
### Features

## Features
- Fetch Jira Projects and Issues directly into Ocular.

- Get Jira Projects and Issues into Ocular.
### Installation Steps

## How to Install

1\. In `ocular/core-config.js` add the following at the end of the `apps` array:
1. Open the `ocular/core-config.js` file.
2. Add the following configuration snippet at the end of the `apps` array:

```js
const apps = [
// ...
// Other configurations...
{
resolve: `jira`,
resolve: "jira",
options: {
client_id: process.env.JIRA_CLIENT_ID,
client_secret: process.env.JIRA_CLIENT_SECRET,
Expand All @@ -23,5 +22,3 @@ const apps = [
},
];
```

---
13 changes: 13 additions & 0 deletions packages/apps/notion/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-instanceof",
"@babel/plugin-transform-classes"
],
"presets": ["@babel/preset-env"],
"env": {
"test": {
"plugins": ["@babel/plugin-transform-runtime"]
}
}
}
9 changes: 9 additions & 0 deletions packages/apps/notion/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/lib
node_modules
.DS_store
.env*
/*.js
!index.js
yarn.lock

/dist
8 changes: 8 additions & 0 deletions packages/apps/notion/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.DS_store
src
dist
yarn.lock
.babelrc

.turbo
.yarn
25 changes: 25 additions & 0 deletions packages/apps/notion/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 📝 Notion Integration

Integrate Ocular with Notion.

## ✨ Features

- Import Notion Pages into Ocular.

## 🚀 How to Install

1. Open `ocular/core-config.js` and append the following configuration to the `apps` array:

```js
const apps = [
// Existing configurations...
{
resolve: "notion",
options: {
client_id: process.env.NOTION_CLIENT_ID,
client_secret: process.env.NOTION_CLIENT_SECRET,
redirect_uri: `${UI_CORS}/dashboard/marketplace/notion`,
},
},
];
```
23 changes: 23 additions & 0 deletions packages/apps/notion/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "notion",
"version": "0.0.0",
"description": "Notion Application for Ocular",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Vivek Lahole",
"scripts": {
"prepare": "cross-env NODE_ENV=production npm run build",
"test": "jest --passWithNoTests src",
"build": "tsc",
"watch": "tsc --watch"
},
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.1",
"@babel/preset-env": "^7.24.1",
"@babel/preset-react": "^7.23.3"
},
"dependencies": {
"async-sema": "^3.1.1"
}
}
Loading