Skip to content

Latest commit

 

History

History
executable file
·
87 lines (70 loc) · 1.92 KB

CONTRIBUTING.md

File metadata and controls

executable file
·
87 lines (70 loc) · 1.92 KB

Contributing to Flanker

Issues

Commands

npm run tauri dev
npm run format
npm run lint
npm run tauri build

# Generate icon
npm run tauri icon src-tauri/icons/icon.png

Branches (WIP)

main (production)
  ⎿ develop (current default branch)
    ⎿ feature/<issue_number> (feature branch)
    ⎿ refactor/<issue_number> (refactor branch)
    ⎿ document/<issue_number> (document branch)
    ⎿ ignore-issues (ignore issues)

Directory Structure

We will adopt the philosophy of colocation patterns as much as possible to determine the directory structure of the tauri application.

src/
  ⎿ assets/ (Images, Docs Images, Logo, etc.)
  ⎿ components/
    ⎿ <component_name>/
      ⎿ <component_name>.tsx
      ⎿ <function_name>.ts (This file contains functions used only in components.)
    ⎿ ui/ (shadcn components)
  ⎿ constants/ (Constants.)
  ⎿ utils/ (Common or utility functions.)
  ⎿ hooks/ (Custom hooks.)
  ⎿ store/ (State management.)
  ⎿ types/ (Typescript types.)

Types (WIP)

export type Config = {
  sideMenuView: boolean;
  contentBodyView: boolean;
  titlebarView: boolean;
  alwaysOnTopView: boolean;
  isPrivacyMode: boolean;
  fullContentBodyView: boolean;
};

export type FileConfig = {
  bookmark: [
    {
      title: string;
      bookmarkInfo: [
        {
          title: string;
          url: string;
          description: string;
          tags: string[];
        },
      ];
    },
  ];
};

Contributions

We are open to contributions. Please read the Code of Conduct before contributing.

Made with contrib.rocks.