Giter VIP home page Giter VIP logo

yuwiki's People

Contributors

yupaits avatar

Watchers

 avatar

yuwiki's Issues

排序完成之后刷新列表

列表拖动排序完成之后调用后台获取列表接口以刷新列表,解决拖动排序完成之后点击列表项闪跳的问题。

定时备份

每天定时检查数据是否变化,可通过计算并比对sqlite数据库文件的SHA1值是否变化来判断,如果变化则备份数据文件,备份文件名包含日期信息。

重写分区列表排序逻辑

由于Vue.Draggable本身的限制,当前的代码逻辑无法完美实现树形列表的排序功能,需要进行重写。树形拖动排序完成之后将树形结构数据转换成[{id, parentId, sortCode}]结构并调用后台分区排序结构,后台查询排序改动的记录并更新即可。

一种新的多设备运行数据同步的思路

由于树莓派无法接入公网,导致无法直接访问树莓派上运行yuwiki;想到一种可以再多设备运行yuwiki并解决数据同步的问题的思路:

  • 将yuwiki运行环境的db文件以git库的方式存储,远程仓库为github上的私有仓库,每次启动yuwiki时从github拉取最新的db文件
  • 使用yuwiki之后通过页面的同步按钮手动将db文件push至github仓库,也可设置定时任务每隔一段时间自动同步db文件至github仓库

搜索功能

根据关键字搜索页面标题、页面内容,通过友好的交互界面展示搜索结果。

增加页面模板

编辑页面时可以选择使用的模板;管理员可以对全局模板进行管理,包括模板创建/修改、启用/禁用等。

星标功能

增加星标功能,被星标的笔记本、分区、页面以列表方式展示时会有一颗星星突出显示。

认证授权

增加登录页面和认证授权相关功能。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.