Logo
Explore Help
Register Sign In
mahdahar/crm-summit
1
0
Fork 1
You've already forked crm-summit
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
crm-summit/app/Controllers/Figma.php

15 lines
245 B
PHP
Raw Normal View History

feat(figma): add local sync dashboard, API, and CLI tooling Add Figma persistence and sync flow for one file source. - create figma_files, figma_file_versions, and figma_comments tables with supporting migrations - add FigmaSyncService for full and incremental sync, API fetch, pagination, dedupe, and upserts - add CLI commands and shell wrappers for full and incremental sync runs - expose Figma dashboard plus API endpoints for summary, snapshots, comments, and admin sync trigger - wire route and sidebar entry for dashboard access - trim legacy file_url and thumbnail_url fields, add version label/description support
2026-04-27 16:55:43 +07:00
<?php
namespace App\Controllers;
class Figma extends BaseController
{
public function index()
{
$level = (int) session()->get('level');
$data['isAdmin'] = in_array($level, [0, 1, 2], true);
return view('figma_dashboard', $data);
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 83ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API